Details

Time bar (total: 12.5s)

sample230.0ms

Algorithm
intervals
Results
109.0ms1638×body80nan
38.0ms492×body80valid

simplify51.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.3b

Counts
2 → 2

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- t 1.0) (log a))
0.3b
(* y (log z))
1.1b
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
1.7b
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

rewrite33.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))
7.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
11.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

series363.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(* (- t 1.0) (log a))
35.0ms
(* y (log z))
109.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
163.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

simplify63.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05801143
12309897
25002860

prune368.0ms

Filtered
124 candidates to 89 candidates (71.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1195124
Fresh011
Picked101
Done000
Total1206126

Merged error: 0.0b

Counts
126 → 6

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
74×add-sqr-sqrt
72×associate-*r*
58×*-un-lft-identity
57×add-cube-cbrt
55×unpow-prod-down
41×add-exp-log
24×div-exp
19×fma-udef
18×add-cbrt-cube
17×exp-sum
14×prod-exp
pow-exp
pow1 div-inv unswap-sqr
cbrt-undiv sqr-pow
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
associate-*l* associate-/r*
pow-to-exp rec-exp 1-exp associate-*r/
frac-2neg pow-prod-down clear-num *-commutative associate-/l/ associate-/l*
Counts
4 → 153
Calls
4 calls:
22.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
1.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
1.0ms
(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)

series817.0ms

Counts
4 → 12
Calls
4 calls:
329.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
80.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
75.0ms
(fma (log (/ 1 a)) t b)
333.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

simplify98.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
09042177
141411915
250011905

prune603.0ms

Filtered
165 candidates to 124 candidates (75.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1632165
Fresh145
Picked101
Done000
Total1656171

Merged error: 0b

Counts
171 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
120×times-frac
118×add-exp-log
85×associate-*r*
79×add-sqr-sqrt
67×prod-exp
63×*-un-lft-identity
62×add-cube-cbrt
56×div-exp
55×unpow-prod-down
30×add-cbrt-cube
20×pow-exp
19×fma-udef
17×exp-sum
13×rec-exp 1-exp
12×cbrt-unprod
11×pow1
cbrt-undiv div-inv unswap-sqr
pow-to-exp sqr-pow
expm1-log1p-u associate-*r/ associate-*l* pow-prod-down log1p-expm1-u add-log-exp
*-commutative
frac-times associate-*l/ un-div-inv
Counts
4 → 190
Calls
4 calls:
25.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
1.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
1.0ms
(fma (log (/ 1 a)) t b)
17.0ms
(* (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) (/ 1 y))

series822.0ms

Counts
4 → 12
Calls
4 calls:
329.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
80.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
76.0ms
(fma (log (/ 1 a)) t b)
337.0ms
(* (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) (/ 1 y))

simplify51.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011182775
150012428

prune635.0ms

Filtered
202 candidates to 130 candidates (64.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2020202
Fresh055
Picked011
Done000
Total2026208

Merged error: 0b

Counts
208 → 6

localize25.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.1b
(fma (log (/ 1 a)) t b)
1.7b
(/ (* (* x (sqrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) (sqrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
13×add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
cbrt-undiv times-frac associate-*r/ div-exp prod-exp associate-/r* cbrt-unprod fma-udef associate-/l/
frac-times frac-2neg associate-*l/ clear-num div-inv associate-/l*
Counts
4 → 58
Calls
4 calls:
1.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
1.0ms
(fma (log (/ 1 a)) t b)
1.0ms
(fma (log (/ 1 a)) t b)
27.0ms
(/ (* (* x (sqrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) (sqrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

series559.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
72.0ms
(fma (log (/ 1 a)) t b)
78.0ms
(fma (log (/ 1 a)) t b)
325.0ms
(/ (* (* x (sqrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) (sqrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

simplify47.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03671015
11433759
25001754

prune348.0ms

Filtered
70 candidates to 59 candidates (84.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New70070
Fresh044
Picked011
Done011
Total70676

Merged error: 0b

Counts
76 → 6

regimes323.0ms

Accuracy

79.8% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 1.4b

bsearch327.0ms

Steps
ItersRangePoint
7
3.1008911368739145e-164
1.5388581765694856e-162
8.754412920530037e-163
8
-320783134448986.44
-178479104048.83572
-906498358069.3627

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03525
13525

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.1s44664×body80nan
1.2s15032×body80valid