Details

Time bar (total: 3.7s)

analyze157.0ms (4.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%68.7%6.3%6
25%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 32 to 20 computations (37.5% saved)

sample1.2s (32%)

Results
1.1s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 95 to 59 computations (37.9% saved)

simplify46.0ms (1.2%)

Algorithm
egg-herbie
Rules
602×fma-def_binary64
320×+-commutative_binary64
277×sub-neg_binary64
265×associate-*l*_binary64
250×unsub-neg_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01939
15737
219837
369637
4229233
5425133
Stop Event
node limit
Counts
1 → 2

prune21.0ms (0.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1)
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (pow.f64 (hypot.f64 a b) 4) -1))
Compiler

Compiled 166 to 105 computations (36.7% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 b (+.f64 a 3))
0.0b
(pow.f64 (hypot.f64 a b) 4)
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (pow.f64 (hypot.f64 a b) 4) -1))
0.1b
(fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a))

series72.0ms (1.9%)

Counts
4 → 96
Calls

4 calls:

29.0ms
(pow.f64 (hypot.f64 a b) 4)
29.0ms
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (pow.f64 (hypot.f64 a b) 4) -1))
9.0ms
(fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a))
4.0ms
(*.f64 b (+.f64 a 3))

rewrite79.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
302×log1p-udef_binary64
173×add-sqr-sqrt_binary64
171×log1p-expm1-u_binary64
171×expm1-log1p-u_binary64
169×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01661
136161
2467561
Stop Event
node limit
Counts
4 → 90
Calls

4 calls:

72.0ms
(*.f64 b (+.f64 a 3))
72.0ms
(pow.f64 (hypot.f64 a b) 4)
72.0ms
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (pow.f64 (hypot.f64 a b) 4) -1))
72.0ms
(fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a))

simplify51.0ms (1.4%)

Algorithm
egg-herbie
Rules
654×fma-def_binary64
555×fma-neg_binary64
538×cancel-sign-sub-inv_binary64
493×associate-+l+_binary64
313×associate--l+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0621701
12141603
27031439
334811423
Stop Event
node limit
Counts
186 → 138

prune168.0ms (4.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1353138
Fresh011
Picked011
Done000
Total1355140
Error
0.0b
Counts
140 → 5
Alt Table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) -1) (pow.f64 (hypot.f64 a b) 4))
0.0b
(+.f64 (+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) (pow.f64 (hypot.f64 a b) 4)) -1)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1)
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (pow.f64 (hypot.f64 a b) 4) -1))
0.5b
(pow.f64 (cbrt.f64 (fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (pow.f64 (hypot.f64 a b) 4) -1))) 3)
Compiler

Compiled 4030 to 2496 computations (38.1% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 b (+.f64 a 3))
0.0b
(pow.f64 (hypot.f64 a b) 4)
0.0b
(+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) (pow.f64 (hypot.f64 a b) 4))
0.1b
(fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a))

series28.0ms (0.8%)

Counts
1 → 24
Calls

1 calls:

28.0ms
(+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) (pow.f64 (hypot.f64 a b) 4))

rewrite55.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
291×log1p-udef_binary64
166×add-sqr-sqrt_binary64
166×log1p-expm1-u_binary64
166×expm1-log1p-u_binary64
163×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01530
134630
2467130
Stop Event
node limit
Counts
1 → 37
Calls

1 calls:

53.0ms
(+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) (pow.f64 (hypot.f64 a b) 4))

simplify34.0ms (0.9%)

Algorithm
egg-herbie
Rules
601×associate-*l*_binary64
520×fma-def_binary64
384×cancel-sign-sub-inv_binary64
362×associate-+l+_binary64
314×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
043801
1149763
2512604
32520590
Stop Event
node limit
Counts
61 → 61

prune232.0ms (6.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1472149
Fresh123
Picked011
Done011
Total1486154
Error
0b
Counts
154 → 6
Alt Table
StatusErrorProgram
0.4b
(+.f64 (pow.f64 (cbrt.f64 (fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (pow.f64 (hypot.f64 a b) 4))) 3) -1)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1)
0.0b
(+.f64 (+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) -1) (pow.f64 (hypot.f64 a b) 4))
0.0b
(+.f64 (+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) (pow.f64 (hypot.f64 a b) 4)) -1)
14.6b
(+.f64 (cbrt.f64 (pow.f64 (fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (pow.f64 (hypot.f64 a b) 4)) 3)) -1)
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (pow.f64 (hypot.f64 a b) 4) -1))
Compiler

Compiled 4772 to 2985 computations (37.4% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))
0.0b
(*.f64 b (+.f64 a 3))
0.0b
(pow.f64 (hypot.f64 a b) 4)
0.1b
(fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a))

series13.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

13.0ms
(-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))

rewrite54.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
958×prod-diff_binary64
198×log1p-udef_binary64
114×add-sqr-sqrt_binary64
111×log1p-expm1-u_binary64
111×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01020
122920
2314920
Stop Event
node limit
Counts
1 → 84
Calls

1 calls:

51.0ms
(-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))

simplify37.0ms (1%)

Algorithm
egg-herbie
Rules
922×fma-def_binary64
910×fma-neg_binary64
307×cancel-sign-sub-inv_binary64
197×unswap-sqr_binary64
195×*-commutative_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
020397
154365
2171361
3533361
41654361
54354361
Stop Event
node limit
Counts
108 → 99

prune301.0ms (8.1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1870187
Fresh033
Picked011
Done022
Total1876193
Error
0b
Counts
193 → 6
Alt Table
StatusErrorProgram
0.4b
(+.f64 (pow.f64 (cbrt.f64 (fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (pow.f64 (hypot.f64 a b) 4))) 3) -1)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1)
0.0b
(+.f64 (+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) -1) (pow.f64 (hypot.f64 a b) 4))
0.0b
(+.f64 (+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) (pow.f64 (hypot.f64 a b) 4)) -1)
14.6b
(+.f64 (cbrt.f64 (pow.f64 (fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (pow.f64 (hypot.f64 a b) 4)) 3)) -1)
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (pow.f64 (hypot.f64 a b) 4) -1))
Compiler

Compiled 6952 to 4005 computations (42.4% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
0.5b
(*.f64 (*.f64 b b) (+.f64 3 a))

series46.0ms (1.2%)

Counts
4 → 84
Calls

4 calls:

24.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
12.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
7.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
3.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))

rewrite40.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
200×log1p-expm1-u_binary64
200×expm1-log1p-u_binary64
198×add-sqr-sqrt_binary64
196×add-cbrt-cube_binary64
189×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01867
142063
Stop Event
node limit
Counts
4 → 85
Calls

4 calls:

38.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
38.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
38.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
38.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))

simplify45.0ms (1.2%)

Algorithm
egg-herbie
Rules
698×associate-*l*_binary64
571×fma-def_binary64
392×cancel-sign-sub-inv_binary64
359×associate-+l+_binary64
312×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0521546
11711502
25851319
327131305
Stop Event
node limit
Counts
169 → 128

prune203.0ms (5.5%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1280128
Fresh022
Picked011
Done033
Total1286134
Error
0b
Counts
134 → 6
Alt Table
StatusErrorProgram
0.4b
(+.f64 (pow.f64 (cbrt.f64 (fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (pow.f64 (hypot.f64 a b) 4))) 3) -1)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1)
0.0b
(+.f64 (+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) -1) (pow.f64 (hypot.f64 a b) 4))
0.0b
(+.f64 (+.f64 (*.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))) (pow.f64 (hypot.f64 a b) 4)) -1)
14.6b
(+.f64 (cbrt.f64 (pow.f64 (fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (pow.f64 (hypot.f64 a b) 4)) 3)) -1)
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (pow.f64 (hypot.f64 a b) 4) -1))
Compiler

Compiled 4600 to 2819 computations (38.7% saved)

regimes651.0ms (17.5%)

Accuracy

Total 0.0b remaining (53.2%)

Threshold costs 0.0b (53.2%)

Counts
124 → 1
Compiler

Compiled 14438 to 10381 computations (28.1% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01735
12435
22835
33035
43135
Stop Event
saturated

end140.0ms (3.8%)

Compiler

Compiled 216 to 148 computations (31.5% saved)

Profiling

Loading profile data...