Details

Time bar (total: 5.9s)

sample27.0ms

Algorithm
intervals
Results
9.0ms258×body80valid
2.0ms15×body640valid
1.0msbody1280valid
1.0ms10×body320valid
0.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: 9.9b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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:
10.0ms
(/ (- y z) (- a z))
1.0ms
(fma (/ (- y z) (- a z)) (- t x) x)

series179.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(/ (- y z) (- a z))
127.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

prune234.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.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)
2.4b
(* (/ (- y z) (- a z)) (- t x))

rewrite60.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:
10.0ms
(/ (- y z) (- a z))
17.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)
21.0ms
(* (/ (- y z) (- a z)) (- t x))

series576.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06821497
126571254
250021252

prune513.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 2.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- y z) (- a z))
0.0b
(/ (- y z) (- a z))
1.2b
(* (/ (- y z) (- a z)) t)
3.5b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite43.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-*l*
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-*r* div-inv
frac-2neg div-sub prod-exp clear-num cbrt-unprod unswap-sqr
pow-prod-down associate-*l/ *-commutative fma-udef
Counts
4 → 170
Calls
4 calls:
10.0ms
(/ (- y z) (- a z))
10.0ms
(/ (- y z) (- a z))
15.0ms
(* (/ (- y z) (- a z)) t)
1.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series302.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (- y z) (- a z))
56.0ms
(/ (- y z) (- a z))
105.0ms
(* (/ (- y z) (- a z)) t)
85.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify56.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03941111
112301045
250011044

prune609.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 2.7b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- a z))
0.6b
(cbrt (- a z))
1.2b
(* (/ (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (cbrt (- a z))) t)
3.5b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
182×times-frac
142×associate-*l*
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-*l/
16×associate-*r/
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-*r*
pow1/3
pow-prod-down *-commutative fma-udef
Counts
4 → 214
Calls
4 calls:
4.0ms
(cbrt (- a z))
4.0ms
(cbrt (- a z))
49.0ms
(* (/ (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (cbrt (- a z))) t)
1.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series537.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(cbrt (- a z))
167.0ms
(cbrt (- a z))
107.0ms
(* (/ (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (cbrt (- a z))) t)
89.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify80.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
07572320
121022136
250012088

prune1.1s

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 2.7b

regimes371.0ms

Accuracy

12.7% (6.1b remaining)

Error of 9.3b against oracle of 3.2b and baseline of 10.2b

bsearch77.0ms

Steps
ItersRangePoint
8
3.13830469290173e-74
3.2986477011150946e-70
4.308856205149356e-74
2
-2.138148122080141e-54
-1.9139344089215768e-54
-1.9419611230663976e-54

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03925
13925

end0.0ms

sample742.0ms

Algorithm
intervals
Results
277.0ms7878×body80valid
55.0ms456×body640valid
45.0ms273×body1280valid
41.0ms405×body320valid
16.0ms254×body160valid
4.0ms19×body2560valid