Details

Time bar (total: 17.2s)

sample229.0ms

Algorithm
intervals
Results
106.0ms1538×body80nan
40.0ms467×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

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- t 1.0) (log a))
0.3b
(* y (log z))
0.5b
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
0.9b
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

rewrite35.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))
4.0ms
(* y (log z))
11.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))

series371.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05801143
12309897
25002860

prune357.0ms

Filtered
124 candidates to 89 candidates (71.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1195124
Fresh101
Picked101
Done000
Total1215126

Merged error: 0.0b

Counts
126 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.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:
24.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)

series830.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
09042177
141411915
250011905

prune615.0ms

Filtered
165 candidates to 124 candidates (75.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1641165
Fresh044
Picked101
Done000
Total1655170

Merged error: 0b

Counts
170 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(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.2b
(fma (log (/ 1 a)) t b)
5.6b
(/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (/ y x))

rewrite202.0ms

Algorithm
rewrite-expression-head
Rules
3049×times-frac
1216×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
728×unpow-prod-down
241×fma-udef
239×exp-sum
144×div-inv
72×associate-/l*
56×sqr-pow
39×add-exp-log
37×div-exp
16×add-cbrt-cube
13×associate-/r*
cbrt-undiv pow-exp
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
exp-prod
pow-to-exp rec-exp 1-exp
frac-2neg clear-num associate-/r/ rem-exp-log associate-/l/
Counts
4 → 1087
Calls
4 calls:
3.0ms
(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)
49.0ms
(/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (/ y x))

series791.0ms

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

simplify286.0ms

Algorithm
egg-herbie
Counts
1099 → 1099
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
0500128990

prune5.0s

Filtered
1099 candidates to 847 candidates (77.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New109901099
Fresh044
Picked011
Done000
Total109951104

Merged error: 0b

Counts
1104 → 5

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
56×add-exp-log
25×prod-exp
23×add-sqr-sqrt
20×div-exp
18×add-cbrt-cube
17×associate-*r*
16×unpow-prod-down
14×*-un-lft-identity
13×add-cube-cbrt
12×times-frac pow-exp
cbrt-unprod unswap-sqr
pow1 cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp rec-exp 1-exp associate-*l*
fma-udef div-inv sqr-pow
frac-2neg clear-num associate-/r* *-commutative associate-/l*
Counts
4 → 95
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
(* x (pow (/ 1 a) 1.0))
10.0ms
(/ (* x (pow (/ 1 a) 1.0)) (* y (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))

series669.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
81.0ms
(fma (log (/ 1 a)) t b)
150.0ms
(* x (pow (/ 1 a) 1.0))
351.0ms
(/ (* x (pow (/ 1 a) 1.0)) (* y (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))

simplify68.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05591001
12471833
25002818

prune360.0ms

Filtered
107 candidates to 72 candidates (67.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh033
Picked011
Done011
Total1075112

Merged error: 0b

Counts
112 → 5

regimes317.0ms

Accuracy

46.2% (3.3b remaining)

Error of 3.6b against oracle of 0.4b and baseline of 6.4b

bsearch136.0ms

Steps
ItersRangePoint
9
4.246232520144737e-105
4.332396423131368e-100
1.14244769217726e-102

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02924
12924

end0.0ms

sample6.6s

Algorithm
intervals
Results
3.1s45631×body80nan
1.2s15205×body80valid

Profiling

Loading profile data...