Difference of squares

Time bar (total: 5.2s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 20 to 12 computations (40% saved)

sample4.8s (92.5%)

Results
565.0ms8237×0valid-rival-baseline
618.0ms8226×0valid-rival
674.0ms8225×0valid-sollya
Bogosity

preprocess313.0ms (6%)

Algorithm
egg-herbie
Rules
890×fma-define
612×sub-neg
575×fma-neg
564×distribute-lft-in
514×distribute-rgt-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020229
166217
2174217
3440217
41065217
52042217
63011217
73853217
85641217
96242217
106355217
116469217
126549217
136549217
147930217
Stop Event
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 a a) (*.f64 b b))
(-.f64 (*.f64 a a) (*.f64 b b))
(-.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b))
(-.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b)))
(neg.f64 (-.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)))
(neg.f64 (-.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))))
(-.f64 (*.f64 b b) (*.f64 a a))
Outputs
(-.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 a a (*.f64 b (neg.f64 b)))
(-.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 a a (*.f64 b (neg.f64 b)))
(-.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b))
(-.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 a a (*.f64 b (neg.f64 b)))
(-.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b)))
(-.f64 (*.f64 a a) (*.f64 b b))
(fma.f64 a a (*.f64 b (neg.f64 b)))
(neg.f64 (-.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)))
(neg.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(-.f64 (*.f64 b b) (*.f64 a a))
(fma.f64 a (neg.f64 a) (*.f64 b b))
(*.f64 (-.f64 b a) (+.f64 a b))
(neg.f64 (-.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))))
(neg.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(-.f64 (*.f64 b b) (*.f64 a a))
(fma.f64 a (neg.f64 a) (*.f64 b b))
(*.f64 (-.f64 b a) (+.f64 a b))
(-.f64 (*.f64 b b) (*.f64 a a))
(neg.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(fma.f64 a (neg.f64 a) (*.f64 b b))
(*.f64 (-.f64 b a) (+.f64 a b))
Symmetry

(abs a)

(abs b)

Compiler

Compiled 9 to 5 computations (44.4% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
94.5%
(-.f64 (*.f64 a a) (*.f64 b b))
Compiler

Compiled 18 to 10 computations (44.4% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
sub-neg
+-commutative
*-commutative
neg-sub0
neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
11631
22431
32831
43031
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 a a) (*.f64 b b))
Outputs
(-.f64 (*.f64 a a) (*.f64 b b))

soundness0.0ms (0%)

Stop Event
fuel
Compiler

Compiled 9 to 5 computations (44.4% saved)

preprocess70.0ms (1.3%)

Remove

(abs b)

(abs a)

Compiler

Compiled 126 to 70 computations (44.4% saved)

end0.0ms (0%)

Profiling

Loading profile data...