Details

Time bar (total: 5.9s)

sample37.0ms

Algorithm
intervals
Results
14.0ms244×body80valid
5.0ms13×body1280valid
2.0ms15×body640valid
2.0ms17×body320valid
1.0msbody160valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519125
645815
750015

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.2b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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:
12.0ms
(/ (- y z) (- a z))
0.0ms
(fma (/ (- y z) (- a z)) (- t x) x)

series173.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune221.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 5.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- y z) (- a z))
2.3b
(+ (* (/ (- y z) (- a z)) (- t x)) x)
3.0b
(* (/ (- y z) (- a z)) (- t x))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
102×add-sqr-sqrt
97×*-un-lft-identity
51×add-cube-cbrt times-frac
36×prod-diff
31×associate-*l*
23×distribute-lft-out-- difference-of-squares
22×distribute-rgt-in associate-+l+ distribute-lft-in
10×add-exp-log add-cbrt-cube
pow1 flip3-- associate-*r* associate-/r* flip-- associate-/l* add-log-exp
sub-neg associate-/r/
expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-times associate-*r/ div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative fma-def frac-2neg flip3-+ div-sub pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-+
Counts
3 → 170
Calls
3 calls:
12.0ms
(/ (- y z) (- a z))
14.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)
36.0ms
(* (/ (- y z) (- a z)) (- t x))

series588.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(/ (- y z) (- a z))
193.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)
339.0ms
(* (/ (- y z) (- a z)) (- t x))

simplify82.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06821497
126571254
250021252

prune462.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.8b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
113×add-sqr-sqrt
108×*-un-lft-identity
76×times-frac
40×add-cube-cbrt
34×distribute-lft-out-- difference-of-squares
31×associate-*r*
13×add-exp-log add-cbrt-cube
10×associate-/r* associate-/l*
pow1 associate-/r/
flip3-- flip--
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv div-exp associate-*l* div-inv
frac-2neg div-sub prod-exp clear-num cbrt-unprod unswap-sqr
associate-*r/ pow-prod-down *-commutative fma-udef
Counts
4 → 170
Calls
4 calls:
15.0ms
(/ (- y z) (- a z))
12.0ms
(/ (- y z) (- a z))
25.0ms
(* t (/ (- y z) (- a z)))
0.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series271.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (- y z) (- a z))
56.0ms
(/ (- y z) (- a z))
71.0ms
(* t (/ (- y z) (- a z)))
86.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify61.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
03811106
114801040
250011040

prune558.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 4.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- a z))
0.6b
(cbrt (- a z))
2.2b
(* t (/ (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (cbrt (- a z))))
2.8b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
182×times-frac
142×associate-*r*
126×add-sqr-sqrt
112×*-un-lft-identity
102×cbrt-div
97×cbrt-prod
66×associate-/r/
58×add-cube-cbrt
51×flip3-- flip--
32×frac-times
27×distribute-lft-out-- difference-of-squares
18×add-exp-log
17×associate-*r/
16×associate-*l/
13×add-cbrt-cube
div-inv
pow1
cbrt-undiv div-exp prod-exp cbrt-unprod unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l*
pow1/3
pow-prod-down *-commutative fma-udef
Counts
4 → 214
Calls
4 calls:
2.0ms
(cbrt (- a z))
2.0ms
(cbrt (- a z))
86.0ms
(* t (/ (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (cbrt (- a z))))
0.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series489.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(cbrt (- a z))
168.0ms
(cbrt (- a z))
77.0ms
(* t (/ (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (cbrt (- a z))))
85.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify54.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011292574
150022431

prune930.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 4.0b

regimes420.0ms

Accuracy

6.2% (4.6b remaining)

Error of 7.8b against oracle of 3.2b and baseline of 8.1b

bsearch174.0ms

Steps
ItersRangePoint
10
5.40238830313474e-166
3.3385347714377047e-155
3.5461461995903064e-159
10
-2.452597579073626e-67
-7.90650715848996e-79
-8.409742007220424e-79

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04696
14696

end0.0ms

sample942.0ms

Algorithm
intervals
Results
441.0ms7772×body80valid
80.0ms484×body640valid
61.0ms280×body1280valid
47.0ms385×body320valid
24.0ms271×body160valid
6.0ms13×body2560valid