Details

Time bar (total: 15.2s)

sample182.0ms

Algorithm
intervals
Results
78.0ms1494×body80nan
28.0ms472×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
03310
17310
21978
35588
422878
550018

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite131.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:
11.0ms
(* (- t 1.0) (log a))
4.0ms
(* y (log z))
34.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
79.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

series379.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (- t 1.0) (log a))
37.0ms
(* y (log z))
113.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
170.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 (52.0ms)

IterNodesCost
05801143
12309897
25002860

prune425.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize19.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.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)

rewrite61.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:
38.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
0.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.0ms
(fma (log (/ 1 a)) t b)
13.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

series836.0ms

Counts
4 → 12
Calls
4 calls:
342.0ms
(* x (/ (pow (/ 1 a) 1.0) (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)
334.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

simplify94.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09042177
141411915
250011905

prune734.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite184.0ms

Algorithm
rewrite-expression-head
Rules
1173×times-frac
526×add-sqr-sqrt
502×*-un-lft-identity
501×add-cube-cbrt
367×unpow-prod-down
220×associate-*r*
121×fma-udef
119×exp-sum
72×associate-/l*
41×add-exp-log
37×div-inv
30×div-exp
29×sqr-pow
18×add-cbrt-cube
pow-exp prod-exp
unswap-sqr
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* associate-/r* cbrt-unprod
pow-to-exp rec-exp 1-exp
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative associate-/l/
Counts
4 → 586
Calls
4 calls:
28.0ms
(/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) y)
0.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.0ms
(fma (log (/ 1 a)) t b)
95.0ms
(* x (/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) y))

series828.0ms

Counts
4 → 12
Calls
4 calls:
324.0ms
(/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) y)
85.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
73.0ms
(fma (log (/ 1 a)) t b)
346.0ms
(* x (/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) y))

simplify141.0ms

Algorithm
egg-herbie
Counts
598 → 598
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
0244010914
1500110678

prune3.2s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.0ms

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

series1.5s

Counts
4 → 12
Calls
4 calls:
79.0ms
(fma (log (/ 1 a)) t b)
527.0ms
(/ (* (sqrt (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) (sqrt (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))) y)
446.0ms
(sqrt (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))
434.0ms
(sqrt (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

simplify55.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04111263
115921049
250011029

prune424.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes204.0ms

Accuracy

97.2% (0.0b remaining)

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

bsearch51.0ms

Steps
ItersRangePoint
4
3.6450932906735275e-20
5.3575181912349926e-20
4.0196862376713476e-20

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02824
12824

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.3s45923×body80nan
931.0ms15168×body80valid