Details

Time bar (total: 12.7s)

sample236.0ms

Algorithm
intervals
Results
107.0ms1504×body80nan
47.0ms478×body80valid

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

localize20.0ms

Local error

Found 4 expressions with local error:

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

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

series373.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (- t 1.0) (log a))
39.0ms
(* y (log z))
167.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))

simplify62.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05801143
12309897
25002860

prune418.0ms

Pruning

5 alts after pruning (5 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)
0.3b
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

rewrite60.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:
36.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)
15.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

series821.0ms

Counts
4 → 12
Calls
4 calls:
332.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)
332.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

prune718.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize21.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)
0.3b
(/ (* (* 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)

rewrite69.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:
0.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.0ms
(fma (log (/ 1 a)) t b)
0.0ms
(fma (log (/ 1 a)) t b)
67.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)

series556.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
75.0ms
(fma (log (/ 1 a)) t b)
75.0ms
(fma (log (/ 1 a)) t b)
327.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)

simplify45.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03671015
11433759
25001754

prune396.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize27.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)
0.4b
(* (* (* 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)))))) (/ 1 y))

rewrite262.0ms

Algorithm
rewrite-expression-head
Rules
43×add-exp-log
25×add-cbrt-cube
24×prod-exp
13×pow1 associate-*r*
12×cbrt-unprod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
sqrt-div
associate-*r/
div-exp pow-prod-down
frac-times associate-*l/
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv rec-exp 1-exp fma-udef
associate-*l* un-div-inv *-commutative div-inv
Counts
4 → 83
Calls
4 calls:
0.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.0ms
(fma (log (/ 1 a)) t b)
0.0ms
(fma (log (/ 1 a)) t b)
258.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)))))) (/ 1 y))

series564.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)
76.0ms
(fma (log (/ 1 a)) t b)
329.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)))))) (/ 1 y))

simplify70.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05471560
124521068
250011056

prune421.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes226.0ms

Accuracy

0% (1.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02525
12525

end0.0ms

sample7.1s

Algorithm
intervals
Results
3.2s45036×body80nan
1.5s15148×body80valid