Details

Time bar (total: 19.5s)

sample28.0ms

Algorithm
intervals
Results
9.0ms246×body80valid
3.0ms18×body640valid
2.0ms10×body1280valid
1.0ms11×body320valid
1.0msbody160valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0236
1465
21285
33625
410245
522965
650015

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.3b

Counts
2 → 2

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- t x) (- a z))
13.4b
(fma (- y z) (/ (- t x) (- a z)) x)

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

series142.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0268450
1733425
22490423
35001421

prune200.0ms

Filtered
70 candidates to 51 candidates (72.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New591170
Fresh011
Picked101
Done000
Total601272

Merged error: 5.4b

Counts
72 → 12

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.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:
8.0ms
(/ (- t x) (- a z))
4.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
17.0ms
(* (- y z) (/ (- t x) (- a z)))

series329.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(/ (- t x) (- a z))
146.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
131.0ms
(* (- y z) (/ (- t x) (- a z)))

simplify57.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0488901
12066849
25001847

prune302.0ms

Filtered
137 candidates to 95 candidates (69.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1334137
Fresh3811
Picked011
Done000
Total13613149

Merged error: 3.6b

Counts
149 → 13

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- a z))
0.5b
(cbrt (- a z))
0.9b
(* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z))))
7.3b
(+ x (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt
60×*-un-lft-identity
52×times-frac
46×associate-*r*
37×cbrt-prod
28×add-cube-cbrt
25×add-exp-log
18×cbrt-div add-cbrt-cube
17×associate-*l*
16×distribute-lft-out-- difference-of-squares
10×associate-/r/
flip3-- flip--
prod-exp cbrt-unprod
cbrt-undiv div-exp
pow1 add-log-exp unswap-sqr
frac-times
expm1-log1p-u log1p-expm1-u
fma-def associate-*r/ associate-*l/
pow1/3 div-inv
+-commutative flip3-+ pow-prod-down sum-log *-commutative flip-+
Counts
4 → 145
Calls
4 calls:
3.0ms
(cbrt (- a z))
3.0ms
(cbrt (- a z))
38.0ms
(* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z))))
3.0ms
(+ x (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))

series737.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(cbrt (- a z))
147.0ms
(cbrt (- a z))
289.0ms
(* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z))))
154.0ms
(+ x (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))

simplify93.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07571897
133391727
250021624

prune449.0ms

Filtered
157 candidates to 116 candidates (73.9%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1561157
Fresh01111
Picked011
Done011
Total15614170

Merged error: 3.6b

Counts
170 → 14

localize19.0ms

Local error

Found 4 expressions with local error:

2.0b
(cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))
2.0b
(cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))
2.0b
(cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))
7.8b
(+ x (* (* (cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z))))) (cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))) (cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-div
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
cbrt-prod frac-times fma-def pow1/3 associate-*r/ associate-*l/
+-commutative flip3-+ sum-log flip-+
Counts
4 → 58
Calls
4 calls:
21.0ms
(cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))
24.0ms
(cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))
20.0ms
(cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))
3.0ms
(+ x (* (* (cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z))))) (cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))) (cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))))

series15.3s

Counts
4 → 12
Calls
4 calls:
5.1s
(cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))
5.0s
(cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))
5.0s
(cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))
157.0ms
(+ x (* (* (cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z))))) (cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))) (cbrt (* (/ (- y z) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- t x) (cbrt (- a z)))))))

simplify81.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
02241575
16291315
227471077
350011042

prune265.0ms

Filtered
70 candidates to 67 candidates (95.7%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New68270
Fresh11011
Picked101
Done022
Total701484

Merged error: 3.6b

Counts
84 → 14

regimes444.0ms

Accuracy

62.2% (3.3b remaining)

Error of 7.2b against oracle of 3.9b and baseline of 12.6b

bsearch3.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03429
13429

end0.0ms

sample796.0ms

Algorithm
intervals
Results
315.0ms7798×body80valid
70.0ms488×body640valid
56.0ms296×body1280valid
46.0ms414×body320valid
16.0ms219×body160valid
7.0ms19×body2560valid

Profiling

Loading profile data...