Details

Time bar (total: 4.6s)

sample25.0ms

Algorithm
intervals
Results
9.0ms279×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0175
1355
2634
31074
41694
52394
62884
73564
84074
95334
107554
1112564
1213024
1313044
1413044

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
2.2b
(fma (/ (- y z) (- a z)) t x)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt *-un-lft-identity
25×times-frac
14×add-cube-cbrt
12×distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num fma-udef div-inv
Counts
2 → 64
Calls
2 calls:
23.0ms
(/ (- y z) (- a z))
0.0ms
(fma (/ (- y z) (- a z)) t x)

series128.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(/ (- y z) (- a z))
79.0ms
(fma (/ (- y z) (- a z)) t x)

simplify65.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune187.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ y (- a z)) (/ z (- a z)))
0.0b
(/ y (- a z))
0.0b
(/ z (- a z))
2.2b
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

rewrite178.0ms

Algorithm
rewrite-expression-head
Rules
713×*-un-lft-identity
703×add-sqr-sqrt
693×times-frac
441×prod-diff
413×add-cube-cbrt
149×distribute-lft-out--
143×difference-of-squares
94×associate-/r/
48×flip3-- flip--
47×div-inv
21×fma-neg
10×associate-/r*
add-exp-log add-cbrt-cube
associate-/l* add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
distribute-rgt-out--
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub fma-udef sub-div
Counts
4 → 581
Calls
4 calls:
104.0ms
(- (/ y (- a z)) (/ z (- a z)))
13.0ms
(/ y (- a z))
11.0ms
(/ z (- a z))
0.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

series315.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(- (/ y (- a z)) (/ z (- a z)))
32.0ms
(/ y (- a z))
45.0ms
(/ z (- a z))
172.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

simplify192.0ms

Algorithm
egg-herbie
Counts
593 → 593
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0123315689
1329711705
2500111613

prune1.2s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

2.2b
(fma (- (* (/ y (- (* a a) (* z z))) (+ a z)) (/ z (- a z))) t x)
3.3b
(- (* a a) (* z z))
7.9b
(/ y (- (* a a) (* z z)))
16.2b
(* (/ y (- (* a a) (* z z))) (+ a z))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×times-frac
24×*-un-lft-identity
22×add-cube-cbrt
18×associate-*l*
11×add-exp-log add-cbrt-cube
difference-of-squares
pow1 add-log-exp
expm1-log1p-u associate-*r* associate-/r* associate-/r/ log1p-expm1-u
flip3-- flip-- associate-/l*
cbrt-undiv frac-times flip3-+ associate-*r/ div-exp prod-exp cbrt-unprod flip-+ div-inv unswap-sqr
distribute-rgt-in sub-neg frac-2neg distribute-lft-in fma-neg diff-log prod-diff pow-prod-down associate-*l/ clear-num *-commutative fma-udef distribute-lft-out
Counts
4 → 108
Calls
4 calls:
0.0ms
(fma (- (* (/ y (- (* a a) (* z z))) (+ a z)) (/ z (- a z))) t x)
8.0ms
(- (* a a) (* z z))
15.0ms
(/ y (- (* a a) (* z z)))
47.0ms
(* (/ y (- (* a a) (* z z))) (+ a z))

series458.0ms

Counts
4 → 12
Calls
4 calls:
318.0ms
(fma (- (* (/ y (- (* a a) (* z z))) (+ a z)) (/ z (- a z))) t x)
34.0ms
(- (* a a) (* z z))
47.0ms
(/ y (- (* a a) (* z z)))
58.0ms
(* (/ y (- (* a a) (* z z))) (+ a z))

simplify64.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0519889
12238798
25002734

prune408.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- y z) t)
13.0b
(/ (* (- y z) t) (- a z))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×*-un-lft-identity
add-exp-log add-cbrt-cube
add-cube-cbrt
times-frac associate-*l* associate-/r*
pow1 associate-*l/
flip3-- associate-*r* flip-- distribute-lft-out-- difference-of-squares
cbrt-undiv expm1-log1p-u div-exp prod-exp associate-/r/ cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 55
Calls
2 calls:
26.0ms
(* (- y z) t)
23.0ms
(/ (* (- y z) t) (- a z))

series100.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(* (- y z) t)
65.0ms
(/ (* (- y z) t) (- a z))

simplify44.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0265278
11212241
25001241

prune159.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes119.0ms

Accuracy

26.2% (2.3b remaining)

Error of 2.3b against oracle of 0.0b and baseline of 3.1b

bsearch82.0ms

Steps
ItersRangePoint
7
-1.3545250609005557e-282
-5.383531637539676e-284
-8.0781943604068975e-283
9
-2.6608514669978e-160
-2.7714262171513926e-167
-2.0843885003280172e-163

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03117
13117

end0.0ms

sample599.0ms

Algorithm
intervals
Results
248.0ms8729×body80valid