Details

Time bar (total: 10.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

sample139.0ms

Algorithm
intervals
Results
48.0ms212×body80valid
42.0ms199×body80invalid
13.0ms15×body640valid
11.0ms17×body320valid
5.0msbody1280valid
3.0msbody160valid

simplify460.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05054109

prune16.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.5b

Counts
2 → 2

localize53.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 6.0 (* x1 x1))
0.2b
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
2.0b
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* 6.0 (* x1 x1)))
3.2b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

rewrite105.0ms

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

series129.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 6.0 (* x1 x1))
31.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
72.0ms
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* 6.0 (* x1 x1)))
23.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

simplify42.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
053833593

prune504.0ms

Filtered
80 candidates to 99 candidates (-23.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New891099
Fresh011
Picked101
Done000
Total9011101

Merged error: 0.4b

Counts
101 → 11

localize41.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ x1 (+ (* (+ (* x1 x1) 1.0) (- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (* x1 6.0) x1))) (+ (* x1 (* x1 (+ (* 3.0 (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))) x1))) (* 3.0 (/ (- (* x1 (* x1 3.0)) (+ x1 (* 2.0 x2))) (+ (* x1 x1) 1.0))))))
0.2b
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
2.0b
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (* x1 6.0) x1))
3.2b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

rewrite149.0ms

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

series248.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(+ x1 (+ (* (+ (* x1 x1) 1.0) (- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (* x1 6.0) x1))) (+ (* x1 (* x1 (+ (* 3.0 (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))) x1))) (* 3.0 (/ (- (* x1 (* x1 3.0)) (+ x1 (* 2.0 x2))) (+ (* x1 x1) 1.0))))))
33.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
65.0ms
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (* x1 6.0) x1))
16.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

simplify51.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
054305479

prune526.0ms

Filtered
77 candidates to 95 candidates (-23.4%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New87895
Fresh5510
Picked011
Done000
Total9214106

Merged error: 0.1b

Counts
106 → 14

localize44.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt 6.0) (* x1 (* x1 (sqrt 6.0))))
0.5b
(* x1 (sqrt 6.0))
3.2b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
4.7b
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (sqrt 6.0) (* x1 (* x1 (sqrt 6.0)))))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×pow1 add-exp-log add-cbrt-cube
11×*-un-lft-identity
add-cube-cbrt associate-*l*
add-log-exp
associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
sub-neg flip3-- diff-log associate--l+ *-commutative flip-- difference-of-squares unswap-sqr
associate--l- distribute-rgt-in associate-+r- distribute-lft-in times-frac div-sub distribute-lft-out--
Counts
4 → 74
Calls
4 calls:
9.0ms
(* (sqrt 6.0) (* x1 (* x1 (sqrt 6.0))))
5.0ms
(* x1 (sqrt 6.0))
20.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
35.0ms
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (sqrt 6.0) (* x1 (* x1 (sqrt 6.0)))))

series98.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (sqrt 6.0) (* x1 (* x1 (sqrt 6.0))))
4.0ms
(* x1 (sqrt 6.0))
17.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
70.0ms
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (sqrt 6.0) (* x1 (* x1 (sqrt 6.0)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
050091643

prune352.0ms

Filtered
58 candidates to 86 candidates (-48.3%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh01212
Picked011
Done011
Total8614100

Merged error: 0.1b

Counts
100 → 14

localize44.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)))
0.6b
(cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)))
3.2b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
6.6b
(- (* (* (cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))) (cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))))) (* 6.0 (* x1 x1)))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-prod
23×add-sqr-sqrt
20×*-un-lft-identity
19×times-frac
18×add-cube-cbrt
add-log-exp
pow1 add-exp-log associate-/r/ add-cbrt-cube
sub-neg cbrt-div flip3-- flip3-+ pow1/3 diff-log flip-- flip-+ div-inv difference-of-squares
associate--l- associate-+r- div-sub distribute-lft-out--
Counts
4 → 74
Calls
4 calls:
11.0ms
(cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)))
13.0ms
(cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)))
17.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
65.0ms
(- (* (* (cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))) (cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))))) (* 6.0 (* x1 x1)))

series127.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)))
22.0ms
(cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)))
16.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
67.0ms
(- (* (* (cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))) (cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (cbrt (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0))))) (* 6.0 (* x1 x1)))

simplify58.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049432776
149432776

prune586.0ms

Filtered
74 candidates to 86 candidates (-16.2%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh01111
Picked011
Done022
Total8614100

Merged error: 0.1b

Counts
100 → 14

regimes381.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0140109
1140109

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.4s6868×body80valid
1.2s5919×body80invalid
366.0ms437×body640valid
206.0ms335×body320valid
193.0ms185×body1280valid
71.0ms175×body160valid

Profiling

Loading profile data...