Details

Time bar (total: 1.3s)

sample18.0ms

Algorithm
intervals
Results
5.0ms256×pre80true
4.0ms256×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize3.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.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:
8.0ms
(* (+ a b) (+ a b))

series4.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0189213
1902188
25001170

prune38.0ms

Filtered
19 candidates to 43 candidates (-126.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New40343
Fresh000
Picked101
Done000
Total41344

Merged error: 0b

Counts
44 → 3

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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:
5.0ms
(* b (+ a b))
5.0ms
(* a (+ a b))
7.0ms
(+ (* a (+ a b)) (* b (+ a b)))

series15.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* b (+ a b))
4.0ms
(* a (+ a b))
6.0ms
(+ (* a (+ a b)) (* b (+ a b)))

simplify63.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0349386
11962333
25001331

prune60.0ms

Filtered
50 candidates to 75 candidates (-50.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New75075
Fresh022
Picked011
Done000
Total75378

Merged error: 0b

Counts
78 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* a a) (* b b))
0.0b
(* (- a b) (- a b))
0.5b
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))
0.5b
(* (- (* a a) (* b b)) (- (* a a) (* b b)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
25×flip3-- flip--
24×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
18×pow1
16×frac-times
12×add-cube-cbrt
11×swap-sqr
associate-*r* associate-*l* difference-of-squares
associate-*r/ associate-*l/ associate-/r/ associate-/l/
prod-exp cbrt-unprod distribute-lft-out-- add-log-exp
sub-neg
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up unswap-sqr
frac-2neg times-frac diff-log clear-num associate-/r* div-inv associate-/l*
Counts
4 → 135
Calls
4 calls:
4.0ms
(- (* a a) (* b b))
9.0ms
(* (- a b) (- a b))
16.0ms
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))
9.0ms
(* (- (* a a) (* b b)) (- (* a a) (* b b)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* a a) (* b b))
7.0ms
(* (- a b) (- a b))
10.0ms
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))
10.0ms
(* (- (* a a) (* b b)) (- (* a a) (* b b)))

simplify128.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
05361348
134101077
250031052

prune110.0ms

Filtered
87 candidates to 147 candidates (-69.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1470147
Fresh011
Picked011
Done011
Total1473150

Merged error: 0b

Counts
150 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(log (+ a b))
0.9b
(exp (* 2 (log (+ a b))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×log-prod
11×*-un-lft-identity
exp-sum
add-sqr-sqrt add-cube-cbrt
distribute-rgt-in distribute-lft-in add-log-exp
pow1 add-exp-log distribute-lft-out
log-div add-cbrt-cube
exp-prod exp-to-pow flip3-+ rem-log-exp log-pow flip-+ rem-exp-log
Counts
2 → 33
Calls
2 calls:
3.0ms
(log (+ a b))
4.0ms
(exp (* 2 (log (+ a b))))

series15.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(log (+ a b))
4.0ms
(exp (* 2 (log (+ a b))))

simplify42.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
0156182
1373150
21234134
35001132

prune36.0ms

Filtered
24 candidates to 39 candidates (-62.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New39039
Fresh000
Picked011
Done022
Total39342

Merged error: 0b

Counts
42 → 3

regimes100.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample462.0ms

Algorithm
intervals
Results
169.0ms8000×pre80true
115.0ms8000×body80valid

Profiling

Loading profile data...