Details

Time bar (total: 3.2s)

sample30.0ms

Algorithm
intervals
Results
14.0ms285×body80valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0175
1355
2605
3965
41405
51745
62025
72425
82895
93835
105235
118185
128615
138635
148635

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.9b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 times-frac associate-*l* associate-/r* add-log-exp
associate-*l/
flip3-- associate-*r* flip-- distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
+-commutative frac-2neg flip3-+ pow-prod-down clear-num sum-log *-commutative flip-+ div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
3 → 63
Calls
3 calls:
7.0ms
(+ x (/ (* (- y z) t) (- a z)))
9.0ms
(* (- y z) t)
9.0ms
(/ (* (- y z) t) (- a z))

series154.0ms

Counts
3 → 9
Calls
3 calls:
67.0ms
(+ x (/ (* (- y z) t) (- a z)))
29.0ms
(* (- y z) t)
58.0ms
(/ (* (- y z) t) (- a z))

simplify41.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0326368
11401329
25001329

prune132.0ms

Filtered
72 candidates to 52 candidates (72.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New69372
Fresh000
Picked011
Done000
Total69473

Merged error: 0b

Counts
73 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
39×*-un-lft-identity
31×times-frac
23×add-cube-cbrt
21×associate-*r*
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-*l* associate-/r* add-log-exp
flip3-- associate-/r/ flip--
associate-/l*
cbrt-undiv frac-times div-exp associate-*l/ prod-exp cbrt-unprod div-inv unswap-sqr
+-commutative frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num sum-log *-commutative flip-+
Counts
3 → 94
Calls
3 calls:
3.0ms
(+ x (* (- y z) (/ t (- a z))))
5.0ms
(/ t (- a z))
13.0ms
(* (- y z) (/ t (- a z)))

series156.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(+ x (* (- y z) (/ t (- a z))))
29.0ms
(/ t (- a z))
59.0ms
(* (- y z) (/ t (- a z)))

simplify47.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0365574
11604535
25002535

prune176.0ms

Filtered
103 candidates to 75 candidates (72.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1030103
Fresh022
Picked011
Done011
Total1034107

Merged error: 0b

Counts
107 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (/ (- y z) (/ (- a z) t)))
0.0b
(/ (- a z) t)
11.2b
(/ (- y z) (/ (- a z) t))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
200×times-frac
173×*-un-lft-identity
171×add-sqr-sqrt
87×add-cube-cbrt
42×distribute-lft-out-- difference-of-squares
22×associate-/r*
10×add-exp-log add-cbrt-cube associate-/l*
div-inv
add-log-exp
cbrt-undiv div-exp associate-/l/
pow1 div-sub
flip3-- frac-2neg clear-num flip--
+-commutative associate-+r- flip3-+ sum-log associate-/r/ flip-+ distribute-lft-out
Counts
3 → 188
Calls
3 calls:
27.0ms
(+ x (/ (- y z) (/ (- a z) t)))
6.0ms
(/ (- a z) t)
12.0ms
(/ (- y z) (/ (- a z) t))

series201.0ms

Counts
3 → 9
Calls
3 calls:
70.0ms
(+ x (/ (- y z) (/ (- a z) t)))
38.0ms
(/ (- a z) t)
92.0ms
(/ (- y z) (/ (- a z) t))

simplify77.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07791717
129861664
250011664

prune358.0ms

Filtered
197 candidates to 133 candidates (67.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1970197
Fresh011
Picked011
Done022
Total1974201

Merged error: 0b

Counts
201 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x (/ (* (- y z) t) (- a z))))
0.3b
(* (sqrt (+ x (/ (* (- y z) t) (- a z)))) (sqrt (+ x (/ (* (- y z) t) (- a z)))))
10.9b
(/ (* (- y z) t) (- a z))
10.9b
(/ (* (- y z) t) (- a z))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
38×add-sqr-sqrt
30×sqrt-prod
20×pow1
17×add-cube-cbrt
16×add-exp-log add-cbrt-cube
14×sqrt-div
11×swap-sqr
10×times-frac associate-/r*
sqrt-pow1 pow1/2
flip3-+ associate-*r* associate-*l* flip-+ distribute-lft-out
associate-*l/
pow-prod-up
cbrt-undiv frac-times flip3-- div-exp associate-/r/ flip-- associate-/l/ distribute-lft-out-- add-log-exp difference-of-squares unswap-sqr
pow-prod-down prod-exp pow-sqr cbrt-unprod
frac-2neg associate-*r/ clear-num div-inv associate-/l*
pow2 rem-sqrt-square pow-plus sqrt-unprod rem-square-sqrt *-commutative
Counts
4 → 136
Calls
4 calls:
10.0ms
(sqrt (+ x (/ (* (- y z) t) (- a z))))
19.0ms
(* (sqrt (+ x (/ (* (- y z) t) (- a z)))) (sqrt (+ x (/ (* (- y z) t) (- a z)))))
9.0ms
(/ (* (- y z) t) (- a z))
9.0ms
(/ (* (- y z) t) (- a z))

series372.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(sqrt (+ x (/ (* (- y z) t) (- a z))))
73.0ms
(* (sqrt (+ x (/ (* (- y z) t) (- a z)))) (sqrt (+ x (/ (* (- y z) t) (- a z)))))
63.0ms
(/ (* (- y z) t) (- a z))
59.0ms
(/ (* (- y z) t) (- a z))

simplify56.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03871201
116331066
250031040

prune266.0ms

Filtered
148 candidates to 87 candidates (58.8%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1480148
Fresh000
Picked011
Done033
Total1484152

Merged error: 0b

Counts
152 → 4

regimes203.0ms

Accuracy

78.7% (0.6b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 3.0b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02723
12723

end0.0ms

sample661.0ms

Algorithm
intervals
Results
366.0ms8700×body80valid