John Proctor committed no crime against the church.
In Arthur Miller's The Crucible, Proctor is a flawed but fundamentally decent farmer. His wife Elizabeth is accused of witchcraft by Abigail Williams—motivated by Abigail's desire to eliminate Elizabeth and marry Proctor (with whom she had an affair). The accusations are personal vendetta disguised as spiritual crisis.
Proctor's actual "crimes" in the play's moral universe: adultery (with Abigail), irregular church attendance, plowing on Sunday. But against the church as institution? None. He is a victim of the theocracy's hijacking by hysteria and malice.
The play's world equates dissent with heresy. Proctor's refusal to confess falsely is treated as an attack on the court—which the court identifies with the church. But the audience sees the distinction: the court is corrupt; Proctor's integrity is the only uncorrupted thing left.