Details

Time bar (total: 10.6s)

sample171.0ms

Algorithm
intervals
Results
89.0ms1853×body80nan
15.0ms256×body80valid

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1618
21618
33938
49848
522568
640958
750018

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
28×pow1
25×log-pow distribute-lft-out
21×prod-diff
19×add-sqr-sqrt
17×add-cube-cbrt
log-prod fma-neg
add-log-exp
distribute-lft-out--
associate-+l- log-div associate-+l+ fma-def
add-exp-log expm1-log1p-u associate-+r+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
associate--l- diff-log sum-log
+-commutative sub-neg flip3-- associate--l+ flip-- fma-udef difference-of-squares
Counts
3 → 92
Calls
3 calls:
34.0ms
(- (+ (log (+ x y)) (log z)) t)
0.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
6.0ms
(+ (log (+ x y)) (log z))

series313.0ms

Counts
3 → 9
Calls
3 calls:
156.0ms
(- (+ (log (+ x y)) (log z)) t)
87.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
70.0ms
(+ (log (+ x y)) (log z))

simplify39.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0388866
11209661
25001650

prune273.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize29.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (log (+ x y)) (log (+ x y)))
0.5b
(- (log z) (log (+ x y)))
0.7b
(pow (log (+ x y)) 3)
0.7b
(pow (log z) 3)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
36×pow1
31×add-sqr-sqrt
27×add-cube-cbrt
23×log-pow
16×prod-diff
15×log-prod
add-exp-log unpow-prod-down cube-prod add-cbrt-cube
pow-unpow swap-sqr
distribute-rgt-in expm1-log1p-u distribute-lft-in fma-neg associate-*r* associate-*l* log1p-expm1-u associate--r+ distribute-lft-out-- add-log-exp
associate--l+ distribute-lft-out
cube-mult pow-to-exp log-div pow-pow unpow3 pow-exp associate--r- rem-cube-cbrt sqr-pow
pow2 sub-neg flip3-- flip3-+ pow-plus diff-log pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod flip-+ difference-of-squares unswap-sqr
Counts
4 → 142
Calls
4 calls:
8.0ms
(* (log (+ x y)) (log (+ x y)))
7.0ms
(- (log z) (log (+ x y)))
2.0ms
(pow (log (+ x y)) 3)
2.0ms
(pow (log z) 3)

series708.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(* (log (+ x y)) (log (+ x y)))
71.0ms
(- (log z) (log (+ x y)))
302.0ms
(pow (log (+ x y)) 3)
170.0ms
(pow (log z) 3)

simplify72.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0395865
11936708
25001674

prune498.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
21×log-prod
19×pow1
15×log-pow distribute-lft-out
14×add-sqr-sqrt add-cube-cbrt
12×associate-+l+ fma-def
associate-+r+
associate-+l- log-div flip3-+ flip-+
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
+-commutative cbrt-prod sum-log
pow1/3
Counts
4 → 103
Calls
4 calls:
0.0ms
(cbrt (fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t)))
6.0ms
(+ (log (+ x y)) (log z))
6.0ms
(+ (log (+ x y)) (log z))
6.0ms
(+ (log (+ x y)) (log z))

series886.0ms

Counts
4 → 12
Calls
4 calls:
675.0ms
(cbrt (fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t)))
67.0ms
(+ (log (+ x y)) (log z))
72.0ms
(+ (log (+ x y)) (log z))
72.0ms
(+ (log (+ x y)) (log z))

simplify59.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0601974
12133892
25001877

prune569.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.1b

localize27.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (log (+ x y)) (log z))
0.6b
(+ (log (+ x y)) (log z))
0.6b
(+ (log (+ x y)) (log z))
0.6b
(+ (log (+ x y)) (log z))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
28×log-prod
24×pow1
20×log-pow distribute-lft-out
16×add-sqr-sqrt add-cube-cbrt associate-+l+ fma-def
12×associate-+r+
associate-+l- log-div flip3-+ flip-+
add-exp-log +-commutative expm1-log1p-u sum-log add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 120
Calls
4 calls:
6.0ms
(+ (log (+ x y)) (log z))
6.0ms
(+ (log (+ x y)) (log z))
10.0ms
(+ (log (+ x y)) (log z))
7.0ms
(+ (log (+ x y)) (log z))

series300.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(+ (log (+ x y)) (log z))
77.0ms
(+ (log (+ x y)) (log z))
70.0ms
(+ (log (+ x y)) (log z))
77.0ms
(+ (log (+ x y)) (log z))

simplify73.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0158688
1328624
2858608
32691604
45002604

prune691.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.1b

regimes473.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
02322
12322

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.7s56762×body80nan
467.0ms8025×body80valid