Details

Time bar (total: 5.9s)

sample25.0ms

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

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

rewrite37.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:
8.0ms
(/ (- t x) (- a z))
3.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
20.0ms
(* (- y z) (/ (- t x) (- a z)))

series339.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0473869
12012820
25001820

prune323.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.8b

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

rewrite37.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:
3.0ms
(cbrt (- t x))
3.0ms
(cbrt (- t x))
24.0ms
(* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
4.0ms
(+ x (* (* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z))))) (/ (cbrt (- t x)) (cbrt (- a z)))))

series750.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06801363
126541151
250011129

prune390.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 4.8b

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

rewrite38.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:
3.0ms
(cbrt (- t x))
4.0ms
(cbrt (cbrt (- t x)))
24.0ms
(* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
4.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)))))

series747.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(cbrt (- t x))
160.0ms
(cbrt (cbrt (- t x)))
282.0ms
(* (- y z) (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
159.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 (64.0ms)

IterNodesCost
07641547
128781340
250011318

prune632.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.8b

localize28.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- t x))
0.6b
(cbrt (cbrt (- t x)))
0.7b
(sqrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
9.3b
(+ x (* (* (* (- y z) (fabs (/ (cbrt (- t x)) (cbrt (- a z))))) (sqrt (/ (* (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)))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod cbrt-div
13×add-sqr-sqrt sqrt-prod
12×*-un-lft-identity
add-cube-cbrt flip3-- associate-/r/ flip--
add-log-exp
pow1
add-exp-log frac-times add-cbrt-cube
rem-sqrt-square times-frac pow1/3 associate-*r/ associate-*l/ distribute-lft-out-- difference-of-squares
+-commutative sqrt-pow1 flip3-+ pow1/2 sqrt-div sum-log flip-+ div-inv
Counts
4 → 69
Calls
4 calls:
6.0ms
(cbrt (- t x))
4.0ms
(cbrt (cbrt (- t x)))
17.0ms
(sqrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
4.0ms
(+ x (* (* (* (- y z) (fabs (/ (cbrt (- t x)) (cbrt (- a z))))) (sqrt (/ (* (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)))))

series676.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(cbrt (- t x))
145.0ms
(cbrt (cbrt (- t x)))
147.0ms
(sqrt (/ (* (cbrt (- t x)) (cbrt (- t x))) (* (cbrt (- a z)) (cbrt (- a z)))))
237.0ms
(+ x (* (* (* (- y z) (fabs (/ (cbrt (- t x)) (cbrt (- a z))))) (sqrt (/ (* (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)))))

simplify53.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
06441405
116611228
250011210

prune445.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 4.8b

regimes346.0ms

Accuracy

58% (3.4b remaining)

Error of 7.4b against oracle of 4.1b and baseline of 12.1b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05254
15254

end0.0ms

sample686.0ms

Algorithm
intervals
Results
259.0ms7764×body80valid
59.0ms501×body640valid
43.0ms420×body320valid
35.0ms236×body1280valid
16.0ms265×body160valid
3.0ms14×body2560valid