Details

Time bar (total: 4.8s)

analyze3.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%56.2%43.8%0
0%56.2%43.8%1
0%56.2%43.8%2
42.1%14%43.8%3
42.1%14%43.8%4
52.7%3.5%43.8%5
56.2%0%43.8%6

sample27.0ms

Algorithm
intervals
Results
16.0ms256×body80valid
4.0ms256×pre80true

simplify115.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (112.0ms)

IterNodesCost
0494935
1494935

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.3b

Counts
2 → 2

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
0.1b
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
3.1b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
804×times-frac
583×*-un-lft-identity
339×add-sqr-sqrt add-cube-cbrt
122×distribute-lft-out
82×associate-/l*
54×associate-/r/
28×flip3-+ flip-+
27×div-inv
19×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp associate-/r*
associate-/l/
pow1 frac-2neg clear-num add-log-exp
Counts
3 → 450
Calls
3 calls:
20.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
39.0ms
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
14.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

series54.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
22.0ms
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
12.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify172.0ms

Algorithm
egg-herbie
Counts
459 → 459
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
0552223282

prune1.4s

Filtered
275 candidates to 459 candidates (-66.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4527459
Fresh101
Picked101
Done000
Total4547461

Merged error: 0.7b

Counts
461 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ alpha (+ beta (* 1.0 2.0))))
0.0b
(/ (* (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (/ 1 (+ alpha (+ beta (* 1.0 2.0))))) (+ (+ alpha beta) (* 2.0 1.0)))
0.1b
(/ (/ (* (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (/ 1 (+ alpha (+ beta (* 1.0 2.0))))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
3.2b
(* (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (/ 1 (+ alpha (+ beta (* 1.0 2.0)))))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
81×*-un-lft-identity
80×times-frac
54×add-exp-log
51×add-sqr-sqrt
44×add-cube-cbrt
34×add-cbrt-cube
24×div-exp
18×associate-*r* associate-/r/ distribute-lft-out
14×cbrt-undiv
13×flip3-+ flip-+ associate-/l*
12×prod-exp
11×associate-/r*
div-inv
pow1 associate-/l/
cbrt-unprod
frac-times rec-exp 1-exp associate-*l* associate-*l/ add-log-exp
frac-2neg clear-num unswap-sqr
associate-*r/ un-div-inv
pow-flip pow-prod-down *-commutative inv-pow
Counts
4 → 188
Calls
4 calls:
6.0ms
(/ 1 (+ alpha (+ beta (* 1.0 2.0))))
24.0ms
(/ (* (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (/ 1 (+ alpha (+ beta (* 1.0 2.0))))) (+ (+ alpha beta) (* 2.0 1.0)))
27.0ms
(/ (/ (* (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (/ 1 (+ alpha (+ beta (* 1.0 2.0))))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
17.0ms
(* (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (/ 1 (+ alpha (+ beta (* 1.0 2.0)))))

series59.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1 (+ alpha (+ beta (* 1.0 2.0))))
20.0ms
(/ (* (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (/ 1 (+ alpha (+ beta (* 1.0 2.0))))) (+ (+ alpha beta) (* 2.0 1.0)))
22.0ms
(/ (/ (* (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (/ 1 (+ alpha (+ beta (* 1.0 2.0))))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
12.0ms
(* (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (/ 1 (+ alpha (+ beta (* 1.0 2.0)))))

simplify82.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049775617
149775617

prune376.0ms

Filtered
133 candidates to 200 candidates (-50.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2000200
Fresh066
Picked011
Done000
Total2007207

Merged error: 0.7b

Counts
207 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (sqrt (+ alpha (+ beta (* 1.0 2.0)))) (+ alpha (+ beta (+ 1.0 (* 1.0 2.0)))))
2.5b
(/ (sqrt (/ (+ alpha (+ beta (+ (* alpha beta) 1.0))) (+ alpha (+ beta (* 1.0 2.0))))) (* (sqrt (+ alpha (+ beta (* 1.0 2.0)))) (+ alpha (+ beta (+ 1.0 (* 1.0 2.0))))))
3.1b
(/ (+ alpha (+ beta (+ (* alpha beta) 1.0))) (+ alpha (+ beta (* 1.0 2.0))))
3.1b
(/ (+ alpha (+ beta (+ (* alpha beta) 1.0))) (+ alpha (+ beta (* 1.0 2.0))))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
192×*-un-lft-identity
109×times-frac
80×distribute-lft-out
57×sqrt-prod
55×add-sqr-sqrt
51×add-cube-cbrt
39×associate-/l*
18×flip3-+ flip-+
16×associate-/r/
15×add-exp-log add-cbrt-cube
13×sqrt-div
associate-/r*
frac-times
associate-*l*
pow1
associate-*r* div-inv associate-/l/
cbrt-undiv associate-*r/ div-exp associate-*l/ add-log-exp
frac-2neg clear-num
prod-exp cbrt-unprod unswap-sqr
distribute-rgt-in distribute-lft-in pow-prod-down *-commutative
Counts
4 → 207
Calls
4 calls:
13.0ms
(* (sqrt (+ alpha (+ beta (* 1.0 2.0)))) (+ alpha (+ beta (+ 1.0 (* 1.0 2.0)))))
28.0ms
(/ (sqrt (/ (+ alpha (+ beta (+ (* alpha beta) 1.0))) (+ alpha (+ beta (* 1.0 2.0))))) (* (sqrt (+ alpha (+ beta (* 1.0 2.0)))) (+ alpha (+ beta (+ 1.0 (* 1.0 2.0))))))
13.0ms
(/ (+ alpha (+ beta (+ (* alpha beta) 1.0))) (+ alpha (+ beta (* 1.0 2.0))))
13.0ms
(/ (+ alpha (+ beta (+ (* alpha beta) 1.0))) (+ alpha (+ beta (* 1.0 2.0))))

series61.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (sqrt (+ alpha (+ beta (* 1.0 2.0)))) (+ alpha (+ beta (+ 1.0 (* 1.0 2.0)))))
21.0ms
(/ (sqrt (/ (+ alpha (+ beta (+ (* alpha beta) 1.0))) (+ alpha (+ beta (* 1.0 2.0))))) (* (sqrt (+ alpha (+ beta (* 1.0 2.0)))) (+ alpha (+ beta (+ 1.0 (* 1.0 2.0))))))
11.0ms
(/ (+ alpha (+ beta (+ (* alpha beta) 1.0))) (+ alpha (+ beta (* 1.0 2.0))))
12.0ms
(/ (+ alpha (+ beta (+ (* alpha beta) 1.0))) (+ alpha (+ beta (* 1.0 2.0))))

simplify68.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
053696744

prune762.0ms

Filtered
136 candidates to 219 candidates (-61.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2190219
Fresh055
Picked011
Done011
Total2197226

Merged error: 0.7b

Counts
226 → 7

localize27.0ms

Local error

Found 4 expressions with local error:

0.8b
(cbrt (+ alpha (+ beta (* 1.0 2.0))))
0.8b
(cbrt (+ alpha (+ beta (* 1.0 2.0))))
3.1b
(sqrt (+ alpha (+ beta (+ (* alpha beta) 1.0))))
3.1b
(sqrt (+ alpha (+ beta (+ (* alpha beta) 1.0))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
10×add-sqr-sqrt sqrt-prod
cbrt-prod add-cube-cbrt distribute-lft-out
pow1
add-exp-log cbrt-div flip3-+ sqrt-div add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 62
Calls
4 calls:
4.0ms
(cbrt (+ alpha (+ beta (* 1.0 2.0))))
4.0ms
(cbrt (+ alpha (+ beta (* 1.0 2.0))))
7.0ms
(sqrt (+ alpha (+ beta (+ (* alpha beta) 1.0))))
8.0ms
(sqrt (+ alpha (+ beta (+ (* alpha beta) 1.0))))

series54.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(cbrt (+ alpha (+ beta (* 1.0 2.0))))
17.0ms
(cbrt (+ alpha (+ beta (* 1.0 2.0))))
9.0ms
(sqrt (+ alpha (+ beta (+ (* alpha beta) 1.0))))
9.0ms
(sqrt (+ alpha (+ beta (+ (* alpha beta) 1.0))))

simplify72.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
048711030
148711030

prune219.0ms

Filtered
56 candidates to 74 candidates (-32.1%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh044
Picked011
Done022
Total74781

Merged error: 0.7b

Counts
81 → 7

regimes107.0ms

Accuracy

0% (2.5b remaining)

Error of 3.6b against oracle of 1.1b and baseline of 3.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02937
12937

end0.0ms

sample771.0ms

Algorithm
intervals
Results
503.0ms8000×body80valid
133.0ms8000×pre80true

Profiling

Loading profile data...