Details

Time bar (total: 10.5s)

sample256.0ms

Algorithm
intervals
Results
95.0ms1333×body80nan
33.0ms415×body80valid
5.0ms11×body640valid
2.0ms10×body160valid
2.0msbody320valid
1.0msbody1280valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
15810
212910
331810
4107310
5500110

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.0b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
0.2b
(* y (- (log z) t))
0.5b
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
7.6b
(log (- 1.0 z))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
27×log-prod
24×add-sqr-sqrt
23×*-un-lft-identity
22×associate--l+
17×distribute-rgt-in distribute-lft-in
14×add-cube-cbrt associate-+r+
10×associate-+l+ associate-*r/
add-log-exp
pow1
add-exp-log
sub-neg flip3-- associate-*r* add-cbrt-cube flip--
distribute-lft-out--
frac-add difference-of-squares
exp-prod associate-*l*
log-div sum-log log-pow rem-exp-log
+-commutative flip3-+ rem-log-exp exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 101
Calls
4 calls:
8.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
9.0ms
(* y (- (log z) t))
12.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
3.0ms
(log (- 1.0 z))

series111.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(exp (+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b))))
14.0ms
(* y (- (log z) t))
41.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
3.0ms
(log (- 1.0 z))

simplify66.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0657992
12473924
25001894

prune202.0ms

Filtered
83 candidates to 113 candidates (-36.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1112113
Fresh000
Picked101
Done000
Total1122114

Merged error: 0.3b

Counts
114 → 2

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
44×associate--l+
27×*-un-lft-identity
25×add-sqr-sqrt
24×distribute-rgt-in log-prod distribute-lft-in
17×add-cube-cbrt
14×associate-+r+
13×associate-*r*
12×sub-neg associate-*r/
10×pow1 associate-+l+
add-log-exp
add-exp-log add-cbrt-cube
distribute-lft-out--
flip3-- associate-*l* flip--
frac-add
exp-prod
pow-prod-down prod-exp sum-log log-pow *-commutative cbrt-unprod rem-exp-log difference-of-squares unswap-sqr
+-commutative flip3-+ exp-sum flip-+
Counts
4 → 123
Calls
4 calls:
22.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
18.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
7.0ms
(* y (- (log z) t))
21.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series154.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
64.0ms
(exp (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
14.0ms
(* y (- (log z) t))
56.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify81.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06621755
127631645
250021626

prune320.0ms

Filtered
88 candidates to 135 candidates (-53.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1323135
Fresh101
Picked101
Done000
Total1343137

Merged error: 0.0b

Counts
137 → 3

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
0.0b
(pow E (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
0.2b
(* y (- (log z) t))
0.5b
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
44×associate--l+
28×*-un-lft-identity
26×add-sqr-sqrt
24×distribute-rgt-in log-prod distribute-lft-in
18×add-cube-cbrt
14×associate-+r+
13×associate-*r*
12×sub-neg associate-*r/
11×pow1
10×associate-+l+
add-exp-log
add-cbrt-cube
distribute-lft-out--
flip3-- associate-*l* flip-- add-log-exp
frac-add
unpow-prod-down pow-unpow
pow-prod-down pow-exp prod-exp log-pow *-commutative cbrt-unprod difference-of-squares unswap-sqr
unpow-prod-up +-commutative pow-to-exp e-exp-1 pow-pow flip3-+ sum-log flip-+ sqr-pow
Counts
4 → 129
Calls
4 calls:
19.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
19.0ms
(pow E (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
7.0ms
(* y (- (log z) t))
21.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

series164.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))
67.0ms
(pow E (+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b))))
17.0ms
(* y (- (log z) t))
57.0ms
(+ (* y (- (log z) t)) (* a (- (- (log 1.0) (+ (* 1/2 (/ (pow z 2) (pow 1.0 2))) (* 1.0 z))) b)))

simplify90.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07171910
130661814
250021795

prune324.0ms

Filtered
92 candidates to 141 candidates (-53.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1410141
Fresh022
Picked011
Done000
Total1413144

Merged error: 0.0b

Counts
144 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (exp (+ (* y (- (log z) t)) (* (log 1.0) a))))
0.0b
(- (log z) t)
0.0b
(exp (+ (* y (- (log z) t)) (* (log 1.0) a)))
0.2b
(* y (- (log z) t))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*r*
log-prod associate--l+
add-cbrt-cube add-log-exp
add-exp-log
associate-*l*
distribute-rgt-in distribute-lft-in
distribute-lft-out--
sub-neg exp-prod
flip3-- associate-*r/ exp-sum pow-prod-down prod-exp log-pow *-commutative flip-- cbrt-unprod rem-exp-log difference-of-squares unswap-sqr
diff-log sum-log
Counts
4 → 83
Calls
4 calls:
12.0ms
(* x (exp (+ (* y (- (log z) t)) (* (log 1.0) a))))
4.0ms
(- (log z) t)
7.0ms
(exp (+ (* y (- (log z) t)) (* (log 1.0) a)))
7.0ms
(* y (- (log z) t))

series90.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* x (exp (+ (* y (- (log z) t)) (* (log 1.0) a))))
9.0ms
(- (log z) t)
24.0ms
(exp (+ (* y (- (log z) t)) (* (log 1.0) a)))
14.0ms
(* y (- (log z) t))

simplify106.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0351647
11274561
24303519
35001517

prune126.0ms

Filtered
66 candidates to 95 candidates (-43.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New95095
Fresh011
Picked011
Done011
Total95398

Merged error: 0.0b

Counts
98 → 3

regimes433.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03516
13716
23716

end0.0ms

sample7.6s

Algorithm
intervals
Results
2.9s40556×body80nan
987.0ms12396×body80valid
169.0ms392×body640valid
109.0ms400×body320valid
58.0ms73×body1280valid
50.0ms282×body160valid

Profiling

Loading profile data...