Bouland and Aaronson, Equation (26)

Time bar (total: 3.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 13 computations (35% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
Operation ival-sub, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time
Operation ival-add, time spent: 0.0ms, 0.0% of total-time
Operation ival-mult, time spent: 0.0ms, 0.0% of total-time
Operation ival-pow, time spent: 0.0ms, 0.0% of total-time

sample1.5s (48.8%)

Results
860.0ms5051×0infinite
565.0ms3204×0valid
0.0ms0infinite
Precisions
Click to see histograms. Total time spent on operations: 789.0ms
Operation ival-add, time spent: 298.0ms, 38.0% of total-time
Operation ival-mult, time spent: 213.0ms, 27.0% of total-time
Operation ival-sub, time spent: 135.0ms, 17.0% of total-time
Operation ival-pow, time spent: 111.0ms, 14.0% of total-time
Operation const, time spent: 31.0ms, 4.0% of total-time
Bogosity

preprocess590.0ms (18.7%)

Algorithm
egg-herbie
Rules
1486×unsub-neg
1342×fma-def
1230×sub-neg
610×associate-+l-
496×distribute-lft-out
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-b
00-0-(+.f64 (*.f64 a a) (*.f64 b b))
00-0-(*.f64 4 (*.f64 b b))
00-0-(*.f64 b b)
00-0-(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
00-0-(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
00-0-(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
00-0-4
00-0-2
00-0-a
00-0-1
00-0-(*.f64 a a)
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
038449
1108421
2251413
3773413
43444315
56954315
Stop Event
node limit
Calls
Call 1
Inputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) 2) (*.f64 4 (*.f64 (neg.f64 b) (neg.f64 b)))) 1)
(neg.f64 (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1))
(neg.f64 (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) 2) (*.f64 4 (*.f64 (neg.f64 b) (neg.f64 b)))) 1))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (*.f64 a a))) 1)
Outputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 b b) 4 -1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1))
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 b b) 4 -1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1))
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 b b) 4 -1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1))
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) 2) (*.f64 4 (*.f64 (neg.f64 b) (neg.f64 b)))) 1)
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 b b) 4 -1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1))
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
(neg.f64 (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1))
(neg.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1)))
(+.f64 (neg.f64 (fma.f64 (*.f64 b b) 4 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) 1)
(-.f64 1 (fma.f64 b (*.f64 b 4) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
(-.f64 (fma.f64 b (*.f64 b -4) 1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))
(-.f64 (fma.f64 b (*.f64 b -4) 1) (pow.f64 (hypot.f64 a b) 4))
(neg.f64 (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) 2) (*.f64 4 (*.f64 (neg.f64 b) (neg.f64 b)))) 1))
(neg.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1)))
(+.f64 (neg.f64 (fma.f64 (*.f64 b b) 4 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) 1)
(-.f64 1 (fma.f64 b (*.f64 b 4) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
(-.f64 (fma.f64 b (*.f64 b -4) 1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))
(-.f64 (fma.f64 b (*.f64 b -4) 1) (pow.f64 (hypot.f64 a b) 4))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (*.f64 a a))) 1)
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 a a) 4) 1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 a a) 4 -1))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 a (*.f64 a 4) -1))
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 a (*.f64 a 4) -1))
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 a (*.f64 a 4) -1))
Symmetry

(abs a)

(abs b)

Compiler

Compiled 153 to 62 computations (59.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 312.0ms
Operation ival-add, time spent: 106.0ms, 34.0% of total-time
Operation ival-mult, time spent: 81.0ms, 26.0% of total-time
Operation ival-pow, time spent: 73.0ms, 23.0% of total-time
Operation ival-sub, time spent: 35.0ms, 11.0% of total-time
Operation const, time spent: 17.0ms, 5.0% of total-time

eval6.0ms (0.2%)

Compiler

Compiled 75 to 39 computations (48% saved)

prune2.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1))
99.9%
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
100.0%
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 50 to 32 computations (36% saved)

localize808.0ms (25.7%)

Compiler

Compiled 137 to 61 computations (55.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 580.0ms
Operation ival-mult, time spent: 152.0ms, 26.0% of total-time
Operation ival-pow, time spent: 145.0ms, 25.0% of total-time
Operation ival-fma, time spent: 104.0ms, 18.0% of total-time
Operation ival-add, time spent: 99.0ms, 17.0% of total-time
Operation const, time spent: 32.0ms, 6.0% of total-time
Operation ival-sub, time spent: 24.0ms, 4.0% of total-time
Operation ival-hypot, time spent: 24.0ms, 4.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune3.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked033
Done000
Total033
Accuracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1))
99.9%
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
100.0%
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 96 to 59 computations (38.5% saved)

regimes18.0ms (0.6%)

Counts
3 → 1
Calls
Call 1
Inputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1))
Outputs
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Calls

6 calls:

4.0ms
b
3.0ms
a
3.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
3.0ms
(*.f64 a a)
3.0ms
(*.f64 b b)
Results
AccuracySegmentsBranch
100.0%1a
100.0%1b
100.0%1(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
100.0%1(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
100.0%1(*.f64 a a)
100.0%1(*.f64 b b)
Compiler

Compiled 52 to 32 computations (38.5% saved)

regimes15.0ms (0.5%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Outputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Calls

6 calls:

4.0ms
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
3.0ms
b
3.0ms
a
2.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
2.0ms
(*.f64 a a)
Results
AccuracySegmentsBranch
99.9%1a
99.9%1b
99.9%1(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
99.9%1(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
99.9%1(*.f64 a a)
99.9%1(*.f64 b b)
Compiler

Compiled 52 to 32 computations (38.5% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative
*-commutative
sub-neg
1-exp
*-rgt-identity
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024112
137112
240112
344112
Stop Event
done
saturated
Calls
Call 1
Inputs
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Outputs
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) -1)
Compiler

Compiled 33 to 22 computations (33.3% saved)

soundness120.0ms (3.8%)

Rules
1486×unsub-neg
1342×fma-def
1230×sub-neg
610×associate-+l-
496×distribute-lft-out
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
038449
1108421
2251413
3773413
43444315
56954315
Stop Event
node limit
Compiler

Compiled 67 to 33 computations (50.7% saved)

end0.0ms (0%)

preprocess45.0ms (1.4%)

Remove

(abs b)

(abs a)

Compiler

Compiled 268 to 184 computations (31.3% saved)

Profiling

Loading profile data...