Details

Time bar (total: 24.2s)

sample191.0ms

Algorithm
intervals
Results
79.0ms1546×body80nan
31.0ms529×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
03310
17310
21978
35588
422878
550018

prune10.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: 0.2b

Counts
2 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- t 1.0) (log a))
0.2b
(* y (log z))
0.8b
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
1.2b
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
25×*-un-lft-identity
21×add-cube-cbrt
13×add-cbrt-cube
12×add-exp-log log-prod exp-sum
10×pow1 add-log-exp
prod-diff
associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in
exp-prod
expm1-log1p-u log1p-expm1-u
times-frac prod-exp associate-/r* cbrt-unprod rem-exp-log
cbrt-undiv exp-diff diff-log div-exp pow-prod-down associate-*l/ log-pow *-commutative distribute-lft-out-- difference-of-squares unswap-sqr
sub-neg flip3-- frac-2neg associate-*r/ associate--l+ clear-num sum-log flip-- div-inv associate-/l/ associate-/l*
Counts
4 → 112
Calls
4 calls:
7.0ms
(* (- t 1.0) (log a))
5.0ms
(* y (log z))
12.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
7.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

series387.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (- t 1.0) (log a))
37.0ms
(* y (log z))
174.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
117.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

simplify63.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05801143
12309897
25002860

prune564.0ms

Filtered
124 candidates to 89 candidates (71.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1204124
Fresh011
Picked101
Done000
Total1215126

Merged error: 0.0b

Counts
126 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.1b
(fma (log (/ 1 a)) t b)
0.2b
(/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
0.8b
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
116×times-frac
65×unpow-prod-down
64×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
33×add-exp-log
24×div-exp
20×fma-udef
18×exp-sum associate-/l*
15×add-cbrt-cube
pow-exp
prod-exp associate-/r* div-inv
cbrt-undiv sqr-pow
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp rec-exp frac-2neg 1-exp clear-num cbrt-unprod
associate-*r/ associate-/l/
Counts
4 → 159
Calls
4 calls:
1.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
1.0ms
(fma (log (/ 1 a)) t b)
9.0ms
(/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
14.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

series768.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
77.0ms
(fma (log (/ 1 a)) t b)
284.0ms
(/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
330.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

simplify83.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
07462775
129432527
250032512

prune599.0ms

Filtered
171 candidates to 121 candidates (70.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1701171
Fresh044
Picked011
Done000
Total1706176

Merged error: 0.0b

Counts
176 → 6

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.1b
(fma (log (/ 1 a)) t b)
0.2b
(/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
6.5b
(/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (/ y x))

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
3162×times-frac
1273×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
793×unpow-prod-down
258×fma-udef
256×exp-sum
150×div-inv
89×associate-/l*
61×sqr-pow
45×add-exp-log div-exp
18×add-cbrt-cube
17×associate-/r*
12×pow-exp
cbrt-undiv
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp rec-exp 1-exp
frac-2neg clear-num
associate-/r/ associate-/l/
Counts
4 → 1181
Calls
4 calls:
1.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
1.0ms
(fma (log (/ 1 a)) t b)
9.0ms
(/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
35.0ms
(/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (/ y x))

series963.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
76.0ms
(fma (log (/ 1 a)) t b)
285.0ms
(/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
518.0ms
(/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (/ y x))

simplify300.0ms

Algorithm
egg-herbie
Counts
1193 → 1193
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
0500130886

prune5.3s

Filtered
1193 candidates to 924 candidates (77.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New119211193
Fresh134
Picked011
Done011
Total119361199

Merged error: 0b

Counts
1199 → 6

localize33.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
2.9b
(/ (pow (/ 1 a) 1.0) (/ (* (cbrt y) (cbrt y)) (* (cbrt x) (cbrt x))))
6.0b
(* (/ (pow (/ 1 a) 1.0) (/ (* (cbrt y) (cbrt y)) (* (cbrt x) (cbrt x)))) (/ (/ 1 (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (/ (cbrt y) (cbrt x))))

rewrite884.0ms

Algorithm
rewrite-expression-head
Rules
2711×times-frac
1635×add-sqr-sqrt
1620×add-exp-log
1136×div-exp
938×*-un-lft-identity
851×add-cube-cbrt
714×cbrt-prod
645×associate-*r*
519×prod-exp
239×unpow-prod-down
200×pow-exp
176×unswap-sqr
123×add-cbrt-cube
120×exp-sum fma-udef
112×rec-exp 1-exp
105×div-inv
102×cbrt-undiv
90×associate-*l*
54×cbrt-unprod
50×pow-to-exp
43×sqr-pow
17×associate-/l*
pow1
associate-/r*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r/
pow1/3
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 1415
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
20.0ms
(/ (pow (/ 1 a) 1.0) (/ (* (cbrt y) (cbrt y)) (* (cbrt x) (cbrt x))))
698.0ms
(* (/ (pow (/ 1 a) 1.0) (/ (* (cbrt y) (cbrt y)) (* (cbrt x) (cbrt x)))) (/ (/ 1 (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (/ (cbrt y) (cbrt x))))

series956.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt y)
172.0ms
(cbrt y)
202.0ms
(/ (pow (/ 1 a) 1.0) (/ (* (cbrt y) (cbrt y)) (* (cbrt x) (cbrt x))))
404.0ms
(* (/ (pow (/ 1 a) 1.0) (/ (* (cbrt y) (cbrt y)) (* (cbrt x) (cbrt x)))) (/ (/ 1 (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (/ (cbrt y) (cbrt x))))

simplify333.0ms

Algorithm
egg-herbie
Counts
1427 → 1427
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
0500239661

prune6.8s

Filtered
1427 candidates to 986 candidates (69.1%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New142701427
Fresh033
Picked011
Done022
Total142761433

Merged error: 0b

Counts
1433 → 6

regimes289.0ms

Accuracy

0% (1.1b remaining)

Error of 1.1b against oracle of 0.1b and baseline of 1.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02212
12212

end0.0ms

sample5.3s

Algorithm
intervals
Results
2.2s45587×body80nan
897.0ms15220×body80valid