Details

Time bar (total: 5.8s)

sample28.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0236
1446
21226
33276
48686
517276
635446
750016

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.5b

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
73×*-un-lft-identity
51×times-frac
31×associate-*r*
27×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/
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 → 119
Calls
3 calls:
11.0ms
(/ (- t x) (- a z))
3.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
32.0ms
(* (- y z) (/ (- t x) (- a z)))

series326.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(/ (- t x) (- a z))
149.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
128.0ms
(* (- y z) (/ (- t x) (- a z)))

simplify113.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0473869
12012820
25003820

prune321.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.8b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- t x))
0.6b
(cbrt (- t x))
0.8b
(* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
8.3b
(+ x (* (* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))) (/ (cbrt (- t x)) (cbrt (- a z)))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log
17×add-sqr-sqrt
16×cbrt-div
14×*-un-lft-identity add-cbrt-cube
13×associate-*r*
10×cbrt-prod flip3-- flip--
prod-exp cbrt-unprod
add-cube-cbrt associate-/r/
pow1 frac-times add-log-exp
associate-*l*
cbrt-undiv div-exp associate-*l/
associate-*r/ distribute-lft-out-- difference-of-squares
times-frac pow1/3 unswap-sqr
+-commutative flip3-+ pow-prod-down sum-log *-commutative flip-+ div-inv
Counts
4 → 85
Calls
4 calls:
2.0ms
(cbrt (- t x))
2.0ms
(cbrt (- t x))
56.0ms
(* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
3.0ms
(+ x (* (* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))) (/ (cbrt (- t x)) (cbrt (- a z)))))

series701.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(cbrt (- t x))
144.0ms
(cbrt (- t x))
272.0ms
(* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
145.0ms
(+ x (* (* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))) (/ (cbrt (- t x)) (cbrt (- a z)))))

simplify71.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06801363
126541151
250011129

prune370.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 4.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- t x))
0.6b
(cbrt (cbrt (- t x)))
0.8b
(* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
8.1b
(+ x (* (* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))) (/ (* (cbrt (* (cbrt (- t x)) (cbrt (- t x)))) (cbrt (cbrt (- t x)))) (cbrt (- a z)))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log
18×cbrt-prod add-sqr-sqrt cbrt-div
15×*-un-lft-identity
14×add-cbrt-cube
13×associate-*r*
10×flip3-- flip--
add-cube-cbrt prod-exp cbrt-unprod
associate-/r/
pow1 frac-times add-log-exp
associate-*l*
cbrt-undiv div-exp associate-*l/
associate-*r/ distribute-lft-out-- difference-of-squares
times-frac pow1/3 unswap-sqr
+-commutative flip3-+ pow-prod-down sum-log *-commutative flip-+ div-inv
Counts
4 → 88
Calls
4 calls:
2.0ms
(cbrt (- t x))
3.0ms
(cbrt (cbrt (- t x)))
56.0ms
(* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
3.0ms
(+ x (* (* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))) (/ (* (cbrt (* (cbrt (- t x)) (cbrt (- t x)))) (cbrt (cbrt (- t x)))) (cbrt (- a z)))))

series693.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(cbrt (- t x))
138.0ms
(cbrt (cbrt (- t x)))
267.0ms
(* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
145.0ms
(+ x (* (* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))) (/ (* (cbrt (* (cbrt (- t x)) (cbrt (- t x)))) (cbrt (cbrt (- t x)))) (cbrt (- a z)))))

simplify77.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07641547
128781340
250011318

prune447.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 4.8b

localize29.0ms

Local error

Found 4 expressions with local error:

1.2b
(cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
1.2b
(cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
1.2b
(cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
8.6b
(+ x (* (* (* (- y z) (* (cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))) (cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))))) (cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))) (/ (* (cbrt (* (cbrt (- t x)) (cbrt (- t x)))) (cbrt (cbrt (- t x)))) (cbrt (- a z)))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod cbrt-div
24×associate-/r/
18×flip3-- flip--
12×frac-times
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r/ associate-*l/ add-log-exp
pow1 add-exp-log add-cbrt-cube
times-frac pow1/3 div-inv
+-commutative flip3-+ sum-log flip-+
Counts
4 → 77
Calls
4 calls:
14.0ms
(cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
17.0ms
(cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
14.0ms
(cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
3.0ms
(+ x (* (* (* (- y z) (* (cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))) (cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))))) (cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))) (/ (* (cbrt (* (cbrt (- t x)) (cbrt (- t x)))) (cbrt (cbrt (- t x)))) (cbrt (- a z)))))

series712.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
187.0ms
(cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
186.0ms
(cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
152.0ms
(+ x (* (* (* (- y z) (* (cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))) (cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))))) (cbrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))) (/ (* (cbrt (* (cbrt (- t x)) (cbrt (- t x)))) (cbrt (cbrt (- t x)))) (cbrt (- a z)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03792376
110342132
250022076

prune482.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 3.2b

regimes360.0ms

Accuracy

60.8% (3.5b remaining)

Error of 6.8b against oracle of 3.3b and baseline of 12.1b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04545
14545

end0.0ms

sample660.0ms

Algorithm
intervals
Results
239.0ms7764×body80valid
67.0ms501×body640valid
36.0ms420×body320valid
33.0ms236×body1280valid
18.0ms265×body160valid
2.0ms14×body2560valid