Details

Time bar (total: 1.4s)

sample14.0ms

Algorithm
intervals
Results
4.0ms256×pre80true
3.0ms256×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (+ a b) (+ a b))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
pow1
add-sqr-sqrt
flip3-+ swap-sqr flip-+ distribute-lft-out
add-cube-cbrt
frac-times associate-*r* associate-*l*
add-exp-log add-cbrt-cube
associate-*r/ associate-*l/
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 40
Calls
1 calls:
17.0ms
(* (+ a b) (+ a b))

series15.0ms

Counts
1 → 3
Calls
1 calls:
15.0ms
(* (+ a b) (+ a b))

simplify33.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0189213
1902188
25001170

prune48.0ms

Filtered
43 candidates to 19 candidates (44.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(* a (+ a b))
0.0b
(+ (* a (+ a b)) (* b (+ a b)))
0.0b
(* b (+ a b))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/
11×add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-*l*
add-log-exp
distribute-rgt-in distribute-lft-in frac-add
associate-+l+ associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative distribute-rgt-out sum-log
Counts
3 → 66
Calls
3 calls:
10.0ms
(* a (+ a b))
6.0ms
(+ (* a (+ a b)) (* b (+ a b)))
10.0ms
(* b (+ a b))

series77.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(* a (+ a b))
23.0ms
(+ (* a (+ a b)) (* b (+ a b)))
29.0ms
(* b (+ a b))

simplify56.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0349386
11969333
25003331

prune122.0ms

Filtered
75 candidates to 50 candidates (66.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* b (+ a b))
0.0b
(+ (* a a) (- (* b b) (* a b)))
0.2b
(* a (+ (pow a 3) (pow b 3)))
0.5b
(/ (* a (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
14×add-sqr-sqrt
13×add-exp-log associate-*r* add-cbrt-cube
10×add-cube-cbrt
add-log-exp
pow1
associate-*r/ associate-*l* distribute-lft-out
flip3-+ flip-+
unpow-prod-down cube-prod
times-frac prod-exp associate-/r* cbrt-unprod
cbrt-undiv distribute-rgt-in associate-+r+ distribute-lft-in div-exp pow-prod-down sum-log associate-/r/ *-commutative associate-/l/ unswap-sqr
+-commutative associate-+r- sub-neg frac-2neg diff-log clear-num sum-cubes div-inv associate-/l*
Counts
4 → 91
Calls
4 calls:
9.0ms
(* b (+ a b))
7.0ms
(+ (* a a) (- (* b b) (* a b)))
51.0ms
(* a (+ (pow a 3) (pow b 3)))
31.0ms
(/ (* a (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

series200.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* b (+ a b))
21.0ms
(+ (* a a) (- (* b b) (* a b)))
56.0ms
(* a (+ (pow a 3) (pow b 3)))
97.0ms
(/ (* a (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

simplify69.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0453725
12595607
25001601

prune233.0ms

Filtered
103 candidates to 67 candidates (65.0%)
Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes23.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample322.0ms

Algorithm
intervals
Results
104.0ms8000×pre80true
102.0ms8000×body80valid