Details

Time bar (total: 4.3s)

sample26.0ms

Algorithm
intervals
Results
8.0ms257×body80valid
2.0ms17×body640valid
1.0msbody1280valid
1.0ms10×body320valid
1.0ms12×body160valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0236
1465
21285
33625
410245
522965
650015

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.4b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- t x) (- a z))
14.3b
(fma (- y z) (/ (- t x) (- a z)) 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
(/ (- t x) (- a z))
0.0ms
(fma (- y z) (/ (- t x) (- a z)) x)

series142.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0268450
1733425
22490423
35001421

prune204.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 6.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- t x) (- a z))
4.0b
(+ x (* (- y z) (/ (- t x) (- a z))))
5.9b
(* (- y z) (/ (- t x) (- a z)))

rewrite59.0ms

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

series338.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(/ (- t x) (- a z))
155.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
130.0ms
(* (- y z) (/ (- t x) (- a z)))

simplify57.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0488901
12066849
25001847

prune349.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 3.6b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- a z))
0.6b
(cbrt (- a z))
0.6b
(cbrt (- a z))
14.3b
(fma (- y z) (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))) x)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 61
Calls
4 calls:
2.0ms
(cbrt (- a z))
2.0ms
(cbrt (- a z))
2.0ms
(cbrt (- a z))
0.0ms
(fma (- y z) (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))) x)

series577.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(cbrt (- a z))
155.0ms
(cbrt (- a z))
148.0ms
(cbrt (- a z))
122.0ms
(fma (- y z) (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))) x)

simplify53.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0203532
1487489
21741478
35002453

prune305.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 3.6b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 61
Calls
4 calls:
2.0ms
(cbrt (- t x))
2.0ms
(cbrt (- t x))
2.0ms
(cbrt (- t x))
0.0ms
(fma (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (/ (- a z) (cbrt (- t x)))) x)

series548.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(cbrt (- t x))
149.0ms
(cbrt (- t x))
154.0ms
(cbrt (- t x))
92.0ms
(fma (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (/ (- a z) (cbrt (- t x)))) x)

simplify46.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0199519
1448479
21381458
35002435

prune272.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 3.6b

regimes417.0ms

Accuracy

40.7% (6.7b remaining)

Error of 10.2b against oracle of 3.6b and baseline of 14.8b

bsearch3.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample679.0ms

Algorithm
intervals
Results
256.0ms7764×body80valid
64.0ms501×body640valid
37.0ms420×body320valid
35.0ms236×body1280valid
16.0ms265×body160valid
3.0ms14×body2560valid