Details

Time bar (total: 4.4s)

sample30.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0236
1465
21285
33625
410245
522965
650015

prune8.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)

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

series144.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0268450
1733425
22490423
35001421

prune246.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 6.1b

localize9.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)))

rewrite39.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:
9.0ms
(/ (- t x) (- a z))
4.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
20.0ms
(* (- y z) (/ (- t x) (- a z)))

series331.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0488901
12066849
25001847

prune359.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)

rewrite12.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:
3.0ms
(cbrt (- a z))
3.0ms
(cbrt (- a z))
3.0ms
(cbrt (- a z))
1.0ms
(fma (- y z) (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))) x)

series565.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(cbrt (- a z))
153.0ms
(cbrt (- a z))
151.0ms
(cbrt (- a z))
115.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 (47.0ms)

IterNodesCost
0203532
1487489
21741478
35002453

prune320.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 3.6b

localize18.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)

rewrite11.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:
3.0ms
(cbrt (- t x))
3.0ms
(cbrt (- t x))
3.0ms
(cbrt (- t x))
1.0ms
(fma (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (/ (- a z) (cbrt (- t x)))) x)

series544.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(cbrt (- t x))
151.0ms
(cbrt (- t x))
148.0ms
(cbrt (- t x))
93.0ms
(fma (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (/ (- a z) (cbrt (- t x)))) x)

simplify44.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
0199519
1448479
21381458
35002435

prune275.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 3.6b

regimes426.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

sample722.0ms

Algorithm
intervals
Results
261.0ms7764×body80valid
63.0ms501×body640valid
38.0ms420×body320valid
35.0ms236×body1280valid
16.0ms265×body160valid
3.0ms14×body2560valid