Details

Time bar (total: 15.2s)

analyze2.0s

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
25%74.9%0.1%5
25%74.9%0.1%6
31.2%68.7%0.1%7
34.3%65.6%0.1%8
37.5%59.3%3.2%9
42.9%53.5%3.6%10
44.5%50%5.6%11
47.8%45.8%6.4%12
48.7%43.7%7.6%13
50.5%41.3%8.2%14

sample133.0ms

Algorithm
intervals
Results
49.0ms227×body80valid
41.0ms180×body80invalid
12.0ms13×body640valid
9.0msbody320valid
6.0msbody1280valid
1.0msbody160valid

simplify419.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05066111

prune26.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: 0.4b

Counts
2 → 2

localize39.0ms

Local error

Found 4 expressions with local error:

3.1b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.8b
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
5.0b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
5.1b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
30×add-exp-log add-cbrt-cube
26×add-sqr-sqrt
24×associate-*r*
23×associate-*r/
22×*-un-lft-identity
18×pow1
16×times-frac
15×prod-exp cbrt-unprod
14×add-cube-cbrt
11×flip3-- flip--
10×frac-add
pow-prod-down
add-log-exp
sub-neg
difference-of-squares
frac-times distribute-lft-out--
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp
associate-+l+ associate-+r+ flip3-+ associate-*l* associate-*l/ associate-/r/ *-commutative flip-+
+-commutative associate--l- diff-log div-sub sum-log div-inv unswap-sqr
Counts
4 → 109
Calls
4 calls:
16.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
32.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
16.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
23.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))

series120.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
66.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
10.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
29.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))

simplify60.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
051996030

prune859.0ms

Filtered
90 candidates to 121 candidates (-34.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1129121
Fresh011
Picked101
Done000
Total11310123

Merged error: 0.3b

Counts
123 → 10

localize47.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0))
3.1b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.8b
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (+ (* x1 (* x1 (* 4.0 (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))))) (* x1 (* x1 (neg 6.0)))))
5.0b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
43×add-exp-log add-cbrt-cube
30×add-sqr-sqrt
27×associate-*r*
24×*-un-lft-identity
23×prod-exp cbrt-unprod
22×pow1
17×times-frac
16×associate-*r/
14×add-cube-cbrt
12×pow-prod-down
11×add-log-exp
10×frac-add
flip3-- flip3-+ flip-- flip-+ difference-of-squares
frac-times
cbrt-undiv sub-neg div-exp distribute-lft-out--
associate-*l/ sum-log
distribute-rgt-in associate-+l+ distribute-lft-in associate-*l* associate-/r/ *-commutative distribute-rgt-neg-out
+-commutative associate--l- associate-+r- associate-+r+ diff-log div-sub unsub-neg div-inv
Counts
4 → 122
Calls
4 calls:
31.0ms
(* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0))
17.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
55.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (+ (* x1 (* x1 (* 4.0 (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))))) (* x1 (* x1 (neg 6.0)))))
17.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))

series131.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0))
14.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
70.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (+ (* x1 (* x1 (* 4.0 (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))))) (* x1 (* x1 (neg 6.0)))))
11.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))

simplify78.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049547314
149547314

prune819.0ms

Filtered
95 candidates to 134 candidates (-41.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1322134
Fresh279
Picked101
Done000
Total1359144

Merged error: 0.3b

Counts
144 → 9

localize39.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x1 (* x1 (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0))))
0.3b
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))))))
3.1b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
4.8b
(+ (* x1 (* x1 (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0)))) (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)))))))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
162×associate-*r/
42×frac-times
40×frac-add
38×flip3-+ flip-+
32×distribute-rgt-in distribute-lft-in
25×add-exp-log add-cbrt-cube
21×associate-*l/
19×flip3-- flip--
18×pow1 associate-*l*
17×add-sqr-sqrt sub-neg
14×*-un-lft-identity
12×add-cube-cbrt prod-exp cbrt-unprod
10×times-frac
pow-prod-down
associate-+l+ add-log-exp
associate-+r+
cbrt-undiv div-exp associate-*r* associate-/r/ *-commutative difference-of-squares
+-commutative associate--l- associate-+r- diff-log div-sub sum-log div-inv distribute-lft-out--
Counts
4 → 158
Calls
4 calls:
24.0ms
(* x1 (* x1 (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0))))
16.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))))))
16.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
28.0ms
(+ (* x1 (* x1 (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0)))) (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)))))))

series214.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* x1 (* x1 (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0))))
59.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))))))
14.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
122.0ms
(+ (* x1 (* x1 (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0)))) (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)))))))

simplify86.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
0502817135

prune1.9s

Filtered
133 candidates to 170 candidates (-27.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1664170
Fresh358
Picked101
Done000
Total1709179

Merged error: 0.3b

Counts
179 → 9

localize36.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))))))
3.1b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
4.8b
(+ (* (* x1 x1) (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0))) (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)))))))
5.1b
(* (* x1 x1) (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
114×associate-*r/
42×frac-times
40×frac-add
38×flip3-+ flip-+
28×add-exp-log add-cbrt-cube
21×pow1 associate-*l/
19×flip3-- flip--
16×distribute-rgt-in add-sqr-sqrt distribute-lft-in associate-*l*
14×prod-exp cbrt-unprod
13×*-un-lft-identity
11×add-cube-cbrt pow-prod-down
10×times-frac
sub-neg
add-log-exp
associate-+l+ associate-+r+
cbrt-undiv div-exp associate-*r* associate-/r/ *-commutative difference-of-squares
+-commutative associate--l- associate-+r- diff-log div-sub sum-log div-inv distribute-lft-out--
Counts
4 → 151
Calls
4 calls:
17.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))))))
16.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
30.0ms
(+ (* (* x1 x1) (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0))) (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)))))))
24.0ms
(* (* x1 x1) (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0)))

series214.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))))))
14.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
124.0ms
(+ (* (* x1 x1) (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0))) (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* x1 (+ (* x1 3.0) (* 2.0 (* (+ (* x1 x1) 1.0) (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)))))))
19.0ms
(* (* x1 x1) (* (+ (* x1 x1) 1.0) (- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ 4.0 (+ (* x1 x1) 1.0))) 6.0)))

simplify132.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
0498916749
1498916749

prune1.4s

Filtered
127 candidates to 163 candidates (-28.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1630163
Fresh088
Picked011
Done000
Total1639172

Merged error: 0.3b

Counts
172 → 9

regimes327.0ms

Accuracy

0% (0.1b remaining)

Error of 0.5b against oracle of 0.4b and baseline of 0.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057111
157111

end0.0ms

analyze1.8s

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
25%74.9%0.1%5
25%74.9%0.1%6
31.2%68.7%0.1%7
34.3%65.6%0.1%8
37.5%59.3%3.2%9
42.9%53.5%3.6%10
44.5%50%5.6%11
47.8%45.8%6.4%12
48.7%43.7%7.6%13
50.5%41.3%8.2%14

sample3.8s

Algorithm
intervals
Results
1.5s6854×body80valid
1.3s5910×body80invalid
385.0ms452×body640valid
217.0ms339×body320valid
175.0ms162×body1280valid
83.0ms193×body160valid

Profiling

Loading profile data...