Details

Time bar (total: 9.2s)

analyze884.0ms (9.6%)

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
0%99.9%0.1%5
0%99.9%0.1%6
0%99.9%0.1%7
0%99.9%0.1%8
12.5%85.8%1.7%9
16.4%79.2%4.4%10
20.7%72.4%7%11
32.6%53.3%14.1%12
36%45.5%18.5%13
38.3%41.1%20.6%14
Compiler

Compiled 19 to 12 computations (36.8% saved)

sample34.0ms (0.4%)

Algorithm
intervals
Results
16.0ms256×body128valid
6.0ms108×body128invalid
Compiler

Compiled 40 to 26 computations (35% saved)

simplify77.0ms (0.8%)

Algorithm
egg-herbie
Rules
802×fma-def_binary64
795×div-sub_binary64
536×times-frac_binary64
518×neg-mul-1_binary64
376×distribute-frac-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01220
12720
26520
312620
427820
560220
6131719
7285319
8444619
9474319
10499119

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
10.8b
Counts
3 → 2
Alt Table
StatusErrorProgram
10.8b
(*.f64 -1/2 (-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y))
27.4b
(/.f64 (-.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)) (*.f64 y 2))
Compiler

Compiled 99 to 58 computations (41.4% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y)
0.7b
(-.f64 (*.f64 z z) (*.f64 x x))
10.7b
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)

rewrite59.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
36×add-cube-cbrt_binary64
14×add-log-exp_binary64
14×add-sqr-sqrt_binary64
13×add-cbrt-cube_binary64
12×flip3--_binary64
Counts
3 → 147
Calls

3 calls:

19.0ms
(-.f64 (*.f64 z z) (*.f64 x x))
17.0ms
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)
15.0ms
(-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y)

series147.0ms (1.6%)

Counts
3 → 96
Calls

3 calls:

66.0ms
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)
63.0ms
(-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y)
17.0ms
(-.f64 (*.f64 z z) (*.f64 x x))

simplify181.0ms (2%)

Algorithm
egg-herbie
Rules
695×fma-neg_binary64
684×fma-def_binary64
373×cancel-sign-sub-inv_binary64
234×distribute-rgt-neg-in_binary64
205×distribute-lft-neg-in_binary64
Counts
243 → 393
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01943769
14943575
220573411
342203393
449743393
548803393

prune154.0ms (1.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3867393
Fresh101
Picked101
Done000
Total3887395
Error
2.5b
Counts
395 → 7
Alt Table
StatusErrorProgram
11.1b
(*.f64 -1/2 (-.f64 (/.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (cbrt.f64 y)) y))
52.7b
(*.f64 -1/2 (neg.f64 (/.f64 (*.f64 x x) y)))
10.8b
(*.f64 -1/2 (-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y))
12.8b
(*.f64 -1/2 (neg.f64 (fma.f64 (/.f64 x y) x y)))
25.0b
(*.f64 -1/2 (-.f64 (cbrt.f64 (pow.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) 3)) y))
11.1b
(*.f64 -1/2 (-.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)) 3) y))
10.8b
(*.f64 -1/2 (-.f64 (pow.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))) -1) y))
Compiler

Compiled 4862 to 1350 computations (72.2% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (pow.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))) -1) y)
0.5b
(pow.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))) -1)
0.7b
(-.f64 (*.f64 z z) (*.f64 x x))
10.8b
(/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))

rewrite52.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
40×add-cube-cbrt_binary64
14×add-sqr-sqrt_binary64
13×add-cbrt-cube_binary64
12×add-exp-log_binary64
11×pow1_binary64
Counts
3 → 137
Calls

3 calls:

18.0ms
(/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))
16.0ms
(-.f64 (pow.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))) -1) y)
11.0ms
(pow.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))) -1)

series349.0ms (3.8%)

Counts
3 → 108
Calls

3 calls:

157.0ms
(pow.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))) -1)
124.0ms
(-.f64 (pow.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))) -1) y)
68.0ms
(/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))

simplify171.0ms (1.9%)

Algorithm
egg-herbie
Rules
628×fma-def_binary64
479×fma-neg_binary64
312×distribute-rgt-in_binary64
216×cancel-sign-sub-inv_binary64
157×distribute-rgt-neg-in_binary64
Counts
245 → 424
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02074425
14844034
220033880
345723877
449183877

prune195.0ms (2.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New5361537
Fresh156
Picked011
Done000
Total5377544
Error
2.5b
Counts
544 → 7
Alt Table
StatusErrorProgram
12.8b
(*.f64 -1/2 (neg.f64 (fma.f64 (/.f64 x y) x y)))
11.1b
(*.f64 -1/2 (-.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))) 3) -1) y))
11.1b
(*.f64 -1/2 (-.f64 (/.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (cbrt.f64 y)) y))
52.7b
(*.f64 -1/2 (neg.f64 (/.f64 (*.f64 x x) y)))
10.8b
(*.f64 -1/2 (-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y))
11.1b
(*.f64 -1/2 (-.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)) 3) y))
10.8b
(*.f64 -1/2 (-.f64 (pow.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))) -1) y))
Compiler

Compiled 6902 to 2431 computations (64.8% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y)
0.7b
(-.f64 (*.f64 z z) (*.f64 x x))
10.8b
(*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y))

rewrite42.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
15×add-cube-cbrt_binary64
14×add-sqr-sqrt_binary64
13×flip3--_binary64
pow1_binary64
add-log-exp_binary64
Counts
2 → 93
Calls

2 calls:

19.0ms
(-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y)
17.0ms
(*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y))

series111.0ms (1.2%)

Counts
2 → 72
Calls

2 calls:

57.0ms
(-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y)
54.0ms
(*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y))

simplify130.0ms (1.4%)

Algorithm
egg-herbie
Rules
710×fma-neg_binary64
609×times-frac_binary64
515×fma-def_binary64
228×cancel-sign-sub-inv_binary64
217×log-prod_binary64
Counts
165 → 293
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01472903
13832618
214282593
343292593
451382593

prune149.0ms (1.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New5190519
Fresh055
Picked011
Done011
Total5197526
Error
2.5b
Counts
526 → 7
Alt Table
StatusErrorProgram
12.8b
(*.f64 -1/2 (neg.f64 (fma.f64 (/.f64 x y) x y)))
11.1b
(*.f64 -1/2 (-.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))) 3) -1) y))
11.1b
(*.f64 -1/2 (-.f64 (/.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (cbrt.f64 y)) y))
52.7b
(*.f64 -1/2 (neg.f64 (/.f64 (*.f64 x x) y)))
10.8b
(*.f64 -1/2 (-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y))
11.1b
(*.f64 -1/2 (-.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)) 3) y))
10.8b
(*.f64 -1/2 (-.f64 (pow.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))) -1) y))
Compiler

Compiled 5398 to 2067 computations (61.7% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(pow.f64 (cbrt.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))) 3)
0.7b
(-.f64 (*.f64 z z) (*.f64 x x))
10.7b
(cbrt.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))))
10.8b
(/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))

rewrite24.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×add-cube-cbrt_binary64
cbrt-div_binary64
add-sqr-sqrt_binary64
pow1/3_binary64
log1p-expm1-u_binary64
Counts
2 → 84
Calls

2 calls:

12.0ms
(pow.f64 (cbrt.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))) 3)
9.0ms
(cbrt.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))))

series2.5s (27.3%)

Counts
2 → 72
Calls

2 calls:

1.4s
(pow.f64 (cbrt.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))) 3)
1.1s
(cbrt.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))))

simplify226.0ms (2.4%)

Algorithm
egg-herbie
Rules
973×fma-def_binary64
461×unswap-sqr_binary64
199×associate-*r*_binary64
176×associate-/l*_binary64
159×associate-*l*_binary64
Counts
156 → 268
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03074798
18294437
230713841
353283841

prune885.0ms (9.6%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New8563859
Fresh044
Picked011
Done022
Total85610866
Error
1.2b
Counts
866 → 10
Alt Table
StatusErrorProgram
52.7b
(*.f64 -1/2 (neg.f64 (/.f64 (*.f64 x x) y)))
54.9b
(*.f64 -1/2 (-.f64 (pow.f64 (pow.f64 (*.f64 (pow.f64 y 1/3) (pow.f64 (/.f64 1 z) 2/3)) 3) -1) y))
12.8b
(*.f64 -1/2 (neg.f64 (fma.f64 (/.f64 x y) x y)))
11.1b
(*.f64 -1/2 (-.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))) 3) -1) y))
52.2b
(*.f64 -1/2 (-.f64 (pow.f64 (pow.f64 (*.f64 (pow.f64 y 1/3) (pow.f64 (/.f64 -1 z) 2/3)) 3) -1) y))
11.1b
(*.f64 -1/2 (-.f64 (/.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (cbrt.f64 y)) y))
54.9b
(*.f64 -1/2 (-.f64 (pow.f64 (pow.f64 (exp.f64 (*.f64 1/3 (+.f64 (*.f64 2 (log.f64 (/.f64 1 z))) (log.f64 y)))) 3) -1) y))
10.8b
(*.f64 -1/2 (-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y))
11.1b
(*.f64 -1/2 (-.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)) 3) y))
10.8b
(*.f64 -1/2 (-.f64 (pow.f64 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x))) -1) y))
Compiler

Compiled 9820 to 5646 computations (42.5% saved)

regimes1.3s (14.1%)

Accuracy

Total 1.9b remaining (49.4%)

Threshold costs 0b (0%)

Compiler

Compiled 10355 to 7057 computations (31.8% saved)

bsearch7.0ms (0.1%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify8.0ms (0.1%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01742
12640
23540
33940
44040
53940

end1.0ms (0%)

Compiler

Compiled 31 to 15 computations (51.6% saved)

sample1.5s (16.1%)

Algorithm
intervals
Results
643.0ms8000×body128valid
231.0ms2932×body128invalid
Compiler

Compiled 238 to 165 computations (30.7% saved)

Profiling

Loading profile data...