Details

Time bar (total: 12.7s)

sample244.0ms

Algorithm
intervals
Results
141.0ms1911×body80nan
24.0ms258×body80valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1618
21618
33938
49848
522568
640958
750018

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 2 expressions with local error:

0.2b
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
0.5b
(+ (log (+ x y)) (log z))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
pow1 log-prod
add-sqr-sqrt add-cube-cbrt log-pow distribute-lft-out
associate-+l+ fma-def
associate-+r+
add-exp-log expm1-log1p-u associate-+l- log-div flip3-+ add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
+-commutative sum-log fma-udef
Counts
2 → 40
Calls
2 calls:
0.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
7.0ms
(+ (log (+ x y)) (log z))

series157.0ms

Counts
2 → 6
Calls
2 calls:
89.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
68.0ms
(+ (log (+ x y)) (log z))

simplify53.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0262323
1662288
22590282
35001278

prune192.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ (* (log t) (- a 0.5)) (- (+ (log (+ x y)) (log z)) t))
0.1b
(* (log t) (- a 0.5))
0.5b
(+ (log (+ x y)) (log z))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
57×prod-diff
46×add-sqr-sqrt
42×add-cube-cbrt
27×associate-+r+
26×associate-+l+
23×pow1
22×distribute-rgt-in distribute-lft-in
18×log-pow
17×distribute-lft-out
10×add-log-exp
log-prod
associate-*r/
add-exp-log sub-neg flip3-- fma-def associate-*r* sum-log add-cbrt-cube flip--
associate-*l* frac-add
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u
+-commutative associate-+l- log-div diff-log
associate-+r- pow-prod-down prod-exp associate--l+ *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 144
Calls
3 calls:
59.0ms
(+ (* (log t) (- a 0.5)) (- (+ (log (+ x y)) (log z)) t))
12.0ms
(* (log t) (- a 0.5))
7.0ms
(+ (log (+ x y)) (log z))

series263.0ms

Counts
3 → 9
Calls
3 calls:
99.0ms
(+ (* (log t) (- a 0.5)) (- (+ (log (+ x y)) (log z)) t))
93.0ms
(* (log t) (- a 0.5))
71.0ms
(+ (log (+ x y)) (log z))

simplify85.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07731594
131061268
250031265

prune484.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (sqrt (+ x y)))
0.2b
(fma (log t) (- a 0.5) (- (+ (log (sqrt (+ x y))) (+ (log (sqrt (+ x y))) (log z))) t))
0.4b
(+ (log (sqrt (+ x y))) (log z))
0.5b
(+ (log (sqrt (+ x y))) (+ (log (sqrt (+ x y))) (log z)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
27×pow1
26×log-pow
25×distribute-lft-out
24×log-prod
14×associate-+l+
13×add-sqr-sqrt add-cube-cbrt
12×fma-def sqrt-prod
log-div sqrt-div
associate-+l- flip3-+ flip-+
add-exp-log add-log-exp
expm1-log1p-u associate-+r+ sum-log add-cbrt-cube log1p-expm1-u
sqrt-pow1 pow1/2
+-commutative associate-+r-
rem-log-exp fma-udef
Counts
4 → 109
Calls
4 calls:
3.0ms
(log (sqrt (+ x y)))
0.0ms
(fma (log t) (- a 0.5) (- (+ (log (sqrt (+ x y))) (+ (log (sqrt (+ x y))) (log z))) t))
8.0ms
(+ (log (sqrt (+ x y))) (log z))
23.0ms
(+ (log (sqrt (+ x y))) (+ (log (sqrt (+ x y))) (log z)))

series441.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(log (sqrt (+ x y)))
130.0ms
(fma (log t) (- a 0.5) (- (+ (log (sqrt (+ x y))) (+ (log (sqrt (+ x y))) (log z))) t))
110.0ms
(+ (log (sqrt (+ x y))) (log z))
123.0ms
(+ (log (sqrt (+ x y))) (+ (log (sqrt (+ x y))) (log z)))

simplify41.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0497975
11412857
25001831

prune518.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (log t) (- a 0.5) (- (+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (+ x y))) (log z)))) t))
0.3b
(+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (+ x y))) (log z)))
0.3b
(+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (+ x y))) (log z))))
0.4b
(+ (log (sqrt (+ x y))) (log z))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
83×distribute-lft-out
67×log-pow
66×pow1
30×log-prod
27×associate-+l+
26×sqrt-prod
22×fma-def
18×sqrt-div
16×add-sqr-sqrt add-cube-cbrt
12×associate-+l- log-div
10×sum-log
sqrt-pow1 flip3-+ flip-+
associate-+r-
add-log-exp
associate-+r+ pow1/2
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
+-commutative
fma-udef
Counts
4 → 154
Calls
4 calls:
0.0ms
(fma (log t) (- a 0.5) (- (+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (+ x y))) (log z)))) t))
25.0ms
(+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (+ x y))) (log z)))
65.0ms
(+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (+ x y))) (log z))))
13.0ms
(+ (log (sqrt (+ x y))) (log z))

series1.2s

Counts
4 → 12
Calls
4 calls:
211.0ms
(fma (log t) (- a 0.5) (- (+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (+ x y))) (log z)))) t))
437.0ms
(+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (+ x y))) (log z)))
457.0ms
(+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (sqrt (+ x y)))) (+ (log (sqrt (+ x y))) (log z))))
120.0ms
(+ (log (sqrt (+ x y))) (log z))

simplify66.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
07291902
124561704
250031658

prune706.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes616.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02319
12319

end0.0ms

sample7.2s

Algorithm
intervals
Results
4.3s56957×body80nan
726.0ms8027×body80valid