Details

Time bar (total: 1.8s)

analyze328.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
6.2%93.6%0.1%6
15.6%84.3%0.1%7
25%74.9%0.1%8
37.4%62.4%0.1%9
46.8%53%0.1%10
55%44.9%0.1%11
64.2%35.7%0.1%12
70.3%29.5%0.1%13
75.4%24.4%0.1%14

sample20.0ms

Algorithm
intervals
Results
9.0ms238×body80valid
1.0msbody1280valid
0.0msbody2560valid
0.0msbody320valid
0.0msbody640valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01489
11489

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (+ x y) 2) z)
0.0b
(+ x (+ (* (+ x y) 2) z))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-+r+ distribute-lft-out
Counts
2 → 25
Calls
2 calls:
7.0ms
(+ (* (+ x y) 2) z)
8.0ms
(+ x (+ (* (+ x y) 2) z))

series12.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (* (+ x y) 2) z)
6.0ms
(+ x (+ (* (+ x y) 2) z))

simplify54.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05176350

prune48.0ms

Filtered
21 candidates to 31 candidates (-47.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New27431
Fresh000
Picked011
Done000
Total27532

Merged error: 0.0b

Counts
32 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (* (+ x y) 2))
0.0b
(+ (+ x (* (+ x y) 2)) z)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-+l+ distribute-lft-out
Counts
2 → 25
Calls
2 calls:
3.0ms
(+ x (* (+ x y) 2))
6.0ms
(+ (+ x (* (+ x y) 2)) z)

series11.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ x (* (+ x y) 2))
6.0ms
(+ (+ x (* (+ x y) 2)) z)

simplify56.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05598346

prune43.0ms

Filtered
20 candidates to 31 candidates (-55.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New29231
Fresh213
Picked101
Done011
Total32436

Merged error: 0.0b

Counts
36 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) (* (+ x y) -4))
0.0b
(+ (/ (+ (* x x) (* (+ x y) (* (+ x y) -4))) (- (* y -2) x)) z)
14.6b
(+ (* x x) (* (+ x y) (* (+ x y) -4)))
29.7b
(/ (+ (* x x) (* (+ x y) (* (+ x y) -4))) (- (* y -2) x))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
11×add-exp-log add-cbrt-cube
pow1 flip3-+ times-frac flip-+
associate-*l/ add-log-exp
frac-times associate-*l*
pow-prod-down prod-exp associate-/r* cbrt-unprod associate-/l*
+-commutative associate-*r/ sum-log associate-/r/ associate-/l/ distribute-lft-out
cbrt-undiv flip3-- frac-2neg div-exp associate-*r* clear-num *-commutative flip-- div-inv
Counts
4 → 81
Calls
4 calls:
13.0ms
(* (+ x y) (* (+ x y) -4))
14.0ms
(+ (/ (+ (* x x) (* (+ x y) (* (+ x y) -4))) (- (* y -2) x)) z)
5.0ms
(+ (* x x) (* (+ x y) (* (+ x y) -4)))
10.0ms
(/ (+ (* x x) (* (+ x y) (* (+ x y) -4))) (- (* y -2) x))

series52.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (+ x y) (* (+ x y) -4))
22.0ms
(+ (/ (+ (* x x) (* (+ x y) (* (+ x y) -4))) (- (* y -2) x)) z)
9.0ms
(+ (* x x) (* (+ x y) (* (+ x y) -4)))
16.0ms
(/ (+ (* x x) (* (+ x y) (* (+ x y) -4))) (- (* y -2) x))

simplify38.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
050651897

prune137.0ms

Filtered
66 candidates to 93 candidates (-40.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New92193
Fresh022
Picked011
Done011
Total92597

Merged error: 0.0b

Counts
97 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (sqrt (+ x (* (+ x y) 2))) (sqrt (+ x (* (+ x y) 2)))) z)
0.0b
(sqrt (+ x (* (+ x y) 2)))
0.0b
(sqrt (+ x (* (+ x y) 2)))
0.3b
(* (sqrt (+ x (* (+ x y) 2))) (sqrt (+ x (* (+ x y) 2))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
11.0ms
(+ (* (sqrt (+ x (* (+ x y) 2))) (sqrt (+ x (* (+ x y) 2)))) z)
3.0ms
(sqrt (+ x (* (+ x y) 2)))
3.0ms
(sqrt (+ x (* (+ x y) 2)))
10.0ms
(* (sqrt (+ x (* (+ x y) 2))) (sqrt (+ x (* (+ x y) 2))))

series42.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(+ (* (sqrt (+ x (* (+ x y) 2))) (sqrt (+ x (* (+ x y) 2)))) z)
10.0ms
(sqrt (+ x (* (+ x y) 2)))
10.0ms
(sqrt (+ x (* (+ x y) 2)))
9.0ms
(* (sqrt (+ x (* (+ x y) 2))) (sqrt (+ x (* (+ x y) 2))))

simplify56.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049471391
149471391

prune143.0ms

Filtered
73 candidates to 110 candidates (-50.7%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1091110
Fresh022
Picked011
Done022
Total1096115

Merged error: 0.0b

Counts
115 → 6

regimes175.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0129
1129

end0.0ms

sample430.0ms

Algorithm
intervals
Results
207.0ms7411×body80valid
21.0ms174×body1280valid
18.0ms181×body640valid
10.0ms133×body320valid
5.0ms36×body2560valid
3.0ms65×body160valid
0.0ms11×body80invalid

Profiling

Loading profile data...