Details

Time bar (total: 3.3s)

sample15.0ms

Algorithm
intervals
Results
5.0ms241×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify308.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0205
1644
22034
33274
43394
53454
64134
75164
85614
97004
109094
1112714
1239214
1350014

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
flip3-+ flip-+
associate-*r/ frac-add
sum-log
associate-+l+
pow1 add-exp-log +-commutative distribute-rgt-in add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity distribute-lft-in add-cbrt-cube
Counts
1 → 19
Calls
1 calls:
24.0ms
(+ (* 2 (+ x y)) (+ x z))

series24.0ms

Counts
1 → 3
Calls
1 calls:
24.0ms
(+ (* 2 (+ x y)) (+ x z))

simplify35.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0275199
11174190
25001185

prune56.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite91.0ms

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

series56.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0165183
1588174
22960170
35001170

prune61.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* 2 (+ x y)) (* 2 (+ x y)))
0.0b
(- (* 2 (+ x y)) x)
13.5b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
30.4b
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

rewrite328.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
18×add-exp-log add-cbrt-cube
17×pow-prod-down
14×associate-*r/
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
distribute-rgt-in distribute-lft-in
prod-exp cbrt-unprod add-log-exp
flip3-+ associate--l+ flip-+
difference-of-squares
frac-times flip3-- pow-sqr pow-prod-up flip-- associate-/l*
associate-/r*
sub-neg pow-plus diff-log associate-*l/ associate-/r/ associate-/l/
cbrt-undiv pow2 frac-2neg div-sub swap-sqr div-exp associate-*r* associate-*l* clear-num *-commutative div-inv
Counts
4 → 113
Calls
4 calls:
60.0ms
(* (* 2 (+ x y)) (* 2 (+ x y)))
15.0ms
(- (* 2 (+ x y)) x)
75.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
174.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

series164.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 2 (+ x y)) (* 2 (+ x y)))
24.0ms
(- (* 2 (+ x y)) x)
29.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
92.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

simplify85.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
05161135
12849969
25001949

prune248.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

13.5b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
13.5b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
30.3b
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))
30.3b
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))

rewrite361.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in add-sqr-sqrt distribute-lft-in associate--l+ sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log flip3-- sqrt-div add-cbrt-cube flip-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 66
Calls
4 calls:
75.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
75.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
103.0ms
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))
106.0ms
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))

series564.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
28.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
253.0ms
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))
247.0ms
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))

simplify35.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0189802
1731736
25001720

prune252.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes69.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124
1124

end0.0ms

sample419.0ms

Algorithm
intervals
Results
160.0ms7376×body80valid
15.0ms170×body1280valid
14.0ms194×body640valid
8.0ms147×body320valid
5.0ms43×body2560valid
3.0ms84×body160valid