Details

Time bar (total: 16.1s)

sample203.0ms

Algorithm
intervals
Results
70.0ms1571×body80nan
26.0ms484×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
03310
17310
21978
35588
422878
550018

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite282.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:
23.0ms
(* (- t 1.0) (log a))
8.0ms
(* y (log z))
73.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
174.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

series403.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (- t 1.0) (log a))
36.0ms
(* y (log z))
127.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
179.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

simplify59.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05801143
12309897
25002860

prune411.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
(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.2b
(/ (* 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
27×add-exp-log
16×div-exp
13×add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity prod-exp
add-log-exp
pow1 cbrt-undiv expm1-log1p-u pow-exp log1p-expm1-u
exp-prod times-frac associate-/r* fma-udef
cbrt-unprod
pow-to-exp rec-exp frac-2neg 1-exp associate-*r/ exp-sum clear-num div-inv rem-exp-log associate-/l/ associate-/l*
Counts
4 → 65
Calls
4 calls:
2.0ms
(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)
27.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

series608.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0451876
11703729
25001720

prune317.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
2775×times-frac
1119×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
624×unpow-prod-down
221×associate-/r*
207×fma-udef
205×exp-sum
65×div-inv
48×sqr-pow
27×add-exp-log
23×div-exp
13×add-cbrt-cube
cbrt-undiv
associate-/r/ add-log-exp
pow1 expm1-log1p-u pow-exp log1p-expm1-u
exp-prod associate-/l*
pow-to-exp rec-exp frac-2neg 1-exp clear-num rem-exp-log
Counts
4 → 945
Calls
4 calls:
2.0ms
(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)
68.0ms
(/ x (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

series605.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))
89.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
78.0ms
(fma (log (/ 1 a)) t b)
343.0ms
(/ x (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

simplify263.0ms

Algorithm
egg-herbie
Counts
957 → 957
Iterations

Useful iterations: 1 (75.0ms)

IterNodesCost
0478123557
1500123113

prune4.4s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (+ (* (log (/ 1 z)) y) (+ (* (log (/ 1 a)) t) b)))
0.2b
(* (log (/ 1 z)) y)
0.2b
(* (log (/ 1 a)) t)
0.5b
(* (pow (/ 1 (pow a 1.0)) 1.0) (/ x (* (exp (+ (* (log (/ 1 z)) y) (+ (* (log (/ 1 a)) t) b))) y)))

rewrite862.0ms

Algorithm
rewrite-expression-head
Rules
101×add-exp-log
50×prod-exp
48×add-sqr-sqrt
43×unpow-prod-down
42×div-exp
41×associate-*l*
39×pow-exp
30×times-frac
29×*-un-lft-identity
26×add-cube-cbrt
17×add-cbrt-cube
13×associate-*r*
12×pow1 pow-to-exp
11×unswap-sqr
10×add-log-exp
rec-exp 1-exp
sqr-pow
log-pow cbrt-unprod
expm1-log1p-u log1p-expm1-u
exp-prod sum-log *-commutative rem-exp-log
cbrt-undiv distribute-lft-neg-out pow-flip log-rec pow-prod-down div-inv inv-pow
associate-*r/ exp-sum
Counts
4 → 159
Calls
4 calls:
76.0ms
(exp (+ (* (log (/ 1 z)) y) (+ (* (log (/ 1 a)) t) b)))
10.0ms
(* (log (/ 1 z)) y)
10.0ms
(* (log (/ 1 a)) t)
759.0ms
(* (pow (/ 1 (pow a 1.0)) 1.0) (/ x (* (exp (+ (* (log (/ 1 z)) y) (+ (* (log (/ 1 a)) t) b))) y)))

series625.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(exp (+ (* (log (/ 1 z)) y) (+ (* (log (/ 1 a)) t) b)))
67.0ms
(* (log (/ 1 z)) y)
56.0ms
(* (log (/ 1 a)) t)
400.0ms
(* (pow (/ 1 (pow a 1.0)) 1.0) (/ x (* (exp (+ (* (log (/ 1 z)) y) (+ (* (log (/ 1 a)) t) b))) y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
07582162
127861929
250011876

prune580.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes243.0ms

Accuracy

0% (1.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03115
13115

end0.0ms

sample5.8s

Algorithm
intervals
Results
2.0s45341×body80nan
838.0ms15369×body80valid