Details

Time bar (total: 14.6s)

sample26.0ms

Algorithm
intervals
Results
8.0ms248×body80valid
2.0ms17×body640valid
1.0ms13×body320valid
1.0msbody1280valid
1.0ms12×body160valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0206
1456
21116
32886
47146
514986
634106
750016

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.1b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
116×add-sqr-sqrt
104×*-un-lft-identity
80×times-frac
40×add-cube-cbrt
35×associate-*r* associate-*l*
31×distribute-lft-out-- difference-of-squares
16×associate-/l*
13×flip3-- flip--
10×add-exp-log add-cbrt-cube
frac-times associate-/l/
*-commutative unswap-sqr
pow1 associate-/r* add-log-exp
associate-*r/ associate-*l/
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod
+-commutative frac-2neg flip3-+ pow-prod-down clear-num sum-log flip-+ div-inv distribute-lft-out
Counts
3 → 171
Calls
3 calls:
9.0ms
(* (- y z) (- t x))
31.0ms
(+ x (/ (* (- y z) (- t x)) (- a z)))
17.0ms
(/ (* (- y z) (- t x)) (- a z))

series333.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07261523
132491474
250011474

prune319.0ms

Filtered
180 candidates to 121 candidates (32.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New16812180
Fresh000
Picked101
Done000
Total16912181

Merged error: 4.2b

Counts
181 → 12

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
101×*-un-lft-identity
96×add-sqr-sqrt
51×times-frac
33×add-cube-cbrt
31×associate-*r* distribute-lft-out--
30×frac-times
29×difference-of-squares
22×flip3-- flip-- associate-/l*
20×associate-/r*
15×associate-*r/
10×add-exp-log add-cbrt-cube
associate-/l/
associate-*l*
pow1 clear-num add-log-exp
frac-2neg associate-/r/
un-div-inv distribute-lft-out
cbrt-undiv div-exp associate-*l/ prod-exp cbrt-unprod div-inv unswap-sqr
+-commutative flip3-+ div-sub pow-prod-down sum-log *-commutative flip-+
Counts
3 → 167
Calls
3 calls:
10.0ms
(/ (- y z) (- a z))
21.0ms
(* (- t x) (/ (- y z) (- a z)))
23.0ms
(+ x (* (- t x) (/ (- y z) (- a z))))

series346.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(/ (- y z) (- a z))
122.0ms
(* (- t x) (/ (- y z) (- a z)))
167.0ms
(+ x (* (- t x) (/ (- y z) (- a z))))

simplify93.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
06311308
132511259
250021259

prune370.0ms

Filtered
176 candidates to 116 candidates (34.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1679176
Fresh9211
Picked011
Done000
Total17612188

Merged error: 4.2b

Counts
188 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

3.1b
(cbrt (* (- t x) (/ (- y z) (- a z))))
3.1b
(cbrt (* (- t x) (/ (- y z) (- a z))))
3.1b
(cbrt (* (- t x) (/ (- y z) (- a z))))
8.5b
(+ x (* (* (cbrt (* (- t x) (/ (- y z) (- a z)))) (cbrt (* (- t x) (/ (- y z) (- a z))))) (cbrt (* (- t x) (/ (- y z) (- a z))))))

rewrite346.0ms

Algorithm
rewrite-expression-head
Rules
178×add-sqr-sqrt *-un-lft-identity
150×cbrt-div
129×cbrt-prod
93×associate-*r*
90×frac-times
78×times-frac
61×add-cube-cbrt
60×flip3-- flip--
54×distribute-lft-out--
51×associate-/l* difference-of-squares
45×associate-*r/ associate-/r*
18×associate-*l* associate-/l/
12×clear-num
frac-2neg un-div-inv
associate-*l/ associate-/r/ add-log-exp unswap-sqr
pow1 add-exp-log add-cbrt-cube
pow1/3 *-commutative div-inv distribute-lft-out
+-commutative flip3-+ sum-log flip-+
Counts
4 → 317
Calls
4 calls:
24.0ms
(cbrt (* (- t x) (/ (- y z) (- a z))))
26.0ms
(cbrt (* (- t x) (/ (- y z) (- a z))))
24.0ms
(cbrt (* (- t x) (/ (- y z) (- a z))))
253.0ms
(+ x (* (* (cbrt (* (- t x) (/ (- y z) (- a z)))) (cbrt (* (- t x) (/ (- y z) (- a z))))) (cbrt (* (- t x) (/ (- y z) (- a z))))))

series3.3s

Counts
4 → 12
Calls
4 calls:
1.1s
(cbrt (* (- t x) (/ (- y z) (- a z))))
1.0s
(cbrt (* (- t x) (/ (- y z) (- a z))))
1.0s
(cbrt (* (- t x) (/ (- y z) (- a z))))
173.0ms
(+ x (* (* (cbrt (* (- t x) (/ (- y z) (- a z)))) (cbrt (* (- t x) (/ (- y z) (- a z))))) (cbrt (* (- t x) (/ (- y z) (- a z))))))

simplify110.0ms

Algorithm
egg-herbie
Counts
329 → 329
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07884258
131974164
250024158

prune962.0ms

Filtered
329 candidates to 236 candidates (28.3%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New3290329
Fresh01010
Picked011
Done011
Total32912341

Merged error: 4.2b

Counts
341 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- y z))
0.5b
(cbrt (- y z))
2.2b
(* (- t x) (/ (* (cbrt (- y z)) (cbrt (- y z))) (/ (- a z) (cbrt (- y z)))))
8.2b
(+ x (* (- t x) (/ (* (cbrt (- y z)) (cbrt (- y z))) (/ (- a z) (cbrt (- y z))))))

rewrite1.5s

Algorithm
rewrite-expression-head
Rules
3175×times-frac
3069×add-sqr-sqrt
2867×*-un-lft-identity
2364×cbrt-prod
2024×associate-*r*
1174×add-cube-cbrt
794×distribute-lft-out--
695×difference-of-squares
496×swap-sqr
400×associate-*l*
236×unswap-sqr
196×frac-times
152×flip3-- flip--
146×associate-/r*
116×cbrt-div
112×associate-/l*
98×associate-*r/
94×associate-/r/
56×add-cbrt-cube
53×*-commutative
39×div-inv
28×cbrt-unprod
26×associate-/l/
25×cbrt-undiv
22×add-exp-log
associate-*l/
prod-exp
pow1 div-exp add-log-exp
clear-num
frac-2neg
un-div-inv distribute-lft-out
pow1/3
+-commutative flip3-+ pow-prod-down sum-log flip-+
Counts
4 → 2020
Calls
4 calls:
3.0ms
(cbrt (- y z))
3.0ms
(cbrt (- y z))
621.0ms
(* (- t x) (/ (* (cbrt (- y z)) (cbrt (- y z))) (/ (- a z) (cbrt (- y z)))))
623.0ms
(+ x (* (- t x) (/ (* (cbrt (- y z)) (cbrt (- y z))) (/ (- a z) (cbrt (- y z))))))

series603.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(cbrt (- y z))
156.0ms
(cbrt (- y z))
118.0ms
(* (- t x) (/ (* (cbrt (- y z)) (cbrt (- y z))) (/ (- a z) (cbrt (- y z)))))
170.0ms
(+ x (* (- t x) (/ (* (cbrt (- y z)) (cbrt (- y z))) (/ (- a z) (cbrt (- y z))))))

simplify306.0ms

Algorithm
egg-herbie
Counts
2032 → 2032
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
0500129717

prune4.6s

Filtered
2032 candidates to 1083 candidates (46.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New203112032
Fresh279
Picked011
Done112
Total2034102044

Merged error: 4.2b

Counts
2044 → 10

regimes292.0ms

Accuracy

44.8% (4.2b remaining)

Error of 8.5b against oracle of 4.3b and baseline of 11.8b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03624
13624

end0.0ms

sample698.0ms

Algorithm
intervals
Results
257.0ms7787×body80valid
63.0ms518×body640valid
40.0ms258×body1280valid
33.0ms376×body320valid
19.0ms320×body160valid
4.0ms21×body2560valid