Details

Time bar (total: 12.2s)

sample195.0ms

Algorithm
intervals
Results
81.0ms1901×body80nan
16.0ms257×body80valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1618
21618
33938
49848
522568
640958
750018

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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))

rewrite79.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:
63.0ms
(- (+ (log (+ x y)) (log z)) t)
0.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
12.0ms
(+ (log (+ x y)) (log z))

series355.0ms

Counts
3 → 9
Calls
3 calls:
178.0ms
(- (+ (log (+ x y)) (log z)) t)
101.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
76.0ms
(+ (log (+ x y)) (log z))

simplify39.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0388866
11209661
25001650

prune284.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

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))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
27×distribute-lft-out
20×pow1
17×log-pow
11×fma-def
add-log-exp
add-sqr-sqrt add-cube-cbrt log-prod sum-log
associate-+l-
associate-+l+ distribute-rgt-neg-in
log-div flip3-+ flip-+
add-exp-log expm1-log1p-u associate-+r+ add-cbrt-cube log1p-expm1-u
+-commutative neg-log
neg-sub0 associate-+r- unsub-neg fma-udef
Counts
3 → 79
Calls
3 calls:
49.0ms
(+ (+ (log (+ x y)) (log z)) (- t))
0.0ms
(fma (log t) (- a 0.5) (+ (+ (log (+ x y)) (log z)) (- t)))
12.0ms
(+ (log (+ x y)) (log z))

series353.0ms

Counts
3 → 9
Calls
3 calls:
175.0ms
(+ (+ (log (+ x y)) (log z)) (- t))
101.0ms
(fma (log t) (- a 0.5) (+ (+ (log (+ x y)) (log z)) (- t)))
77.0ms
(+ (log (+ x y)) (log z))

simplify34.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0378571
11258506
25001497

prune277.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (log z) (log z))
0.5b
(- (log (+ x y)) (log z))
0.5b
(* (log (+ x y)) (log (+ x y)))
0.6b
(- (* (log (+ x y)) (log (+ x y))) (* (log z) (log z)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
43×pow1
37×add-sqr-sqrt
35×log-prod
31×add-cube-cbrt
25×log-pow
17×prod-diff
14×distribute-rgt-in distribute-lft-in
12×swap-sqr associate--l+
associate--r+
add-exp-log associate-*r* associate-*l* add-cbrt-cube
add-log-exp
fma-neg distribute-lft-out
expm1-log1p-u log1p-expm1-u distribute-lft-out--
associate--l- pow2 sub-neg log-div flip3-- pow-plus diff-log pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod difference-of-squares unswap-sqr
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
9.0ms
(* (log z) (log z))
13.0ms
(- (log (+ x y)) (log z))
18.0ms
(* (log (+ x y)) (log (+ x y)))
16.0ms
(- (* (log (+ x y)) (log (+ x y))) (* (log z) (log z)))

series559.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(* (log z) (log z))
74.0ms
(- (log (+ x y)) (log z))
171.0ms
(* (log (+ x y)) (log (+ x y)))
165.0ms
(- (* (log (+ x y)) (log (+ x y))) (* (log z) (log z)))

simplify64.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04461242
116601012
25002875

prune522.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (log (+ x y)))
0.5b
(cbrt (log (+ x y)))
0.5b
(* (cbrt (log (+ x y))) (cbrt (log (+ x y))))
0.7b
(fma (* (cbrt (log (+ x y))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod
22×add-sqr-sqrt
19×pow1
16×*-un-lft-identity
14×add-cube-cbrt
swap-sqr
pow1/3 log-pow
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 85
Calls
4 calls:
1.0ms
(cbrt (log (+ x y)))
3.0ms
(cbrt (log (+ x y)))
12.0ms
(* (cbrt (log (+ x y))) (cbrt (log (+ x y))))
0.0ms
(fma (* (cbrt (log (+ x y))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

series2.8s

Counts
4 → 12
Calls
4 calls:
488.0ms
(cbrt (log (+ x y)))
483.0ms
(cbrt (log (+ x y)))
1.2s
(* (cbrt (log (+ x y))) (cbrt (log (+ x y))))
563.0ms
(fma (* (cbrt (log (+ x y))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

simplify74.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0175771
1501690
22335610
35002594

prune347.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.1b

regimes439.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
0189
1189

end0.0ms

sample5.5s

Algorithm
intervals
Results
2.4s55728×body80nan
423.0ms8042×body80valid