Details

Time bar (total: 42.4s)

sample457.0ms

Algorithm
intervals
Results
278.0ms463×body80valid
16.0ms13×body640valid
12.0msbody1280valid
7.0ms11×body320valid
4.0msbody160valid

simplify2.9s

Counts
1 → 1
Iterations

Useful iterations: done (2.9s)

IterNodesCost
035127
1109115
2415110
32032108
done5000105

prune50.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize90.0ms

Local error

Found 4 expressions with local error:

3.0b
(+ (* (* (* 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)))
3.1b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
5.4b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
5.5b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))

rewrite2.8s

Algorithm
rewrite-expression-head
Rules
243×add-sqr-sqrt
239×*-un-lft-identity
201×prod-diff
171×add-cube-cbrt
166×times-frac
130×associate-+l+
75×distribute-rgt-in distribute-lft-in
35×difference-of-squares
34×distribute-lft-out--
30×add-exp-log add-cbrt-cube
24×associate-*r*
23×associate-*r/
22×associate-/r/
21×fma-neg
18×pow1
15×prod-exp cbrt-unprod
12×flip3-+ flip-+
11×flip3-- flip-- div-inv
10×associate-+r+ frac-add
pow-prod-down
add-log-exp
sub-neg
expm1-log1p-u frac-times log1p-expm1-u
cbrt-undiv div-exp
associate-*l* associate-*l/ *-commutative
+-commutative associate--l- fma-def diff-log div-sub sum-log unswap-sqr
Counts
4 → 347
Calls
4 calls:
1.2s
(+ (* (* (* 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)))
878.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
368.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
389.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))

series1.0s

Counts
4 → 12
Calls
4 calls:
545.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)))
169.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
123.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
201.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))

simplify1.1s

Counts
359 → 359
Iterations

Useful iterations: done (1.1s)

IterNodesCost
044919042
1138515724
done500114751

prune4.0s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize107.0ms

Local error

Found 4 expressions with local error:

5.4b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
5.5b
(fma (* x1 x1) (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0) (* (+ (- 3.0) 3.0) (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (* 2.0 x1))))
5.8b
(+ (* (fma (/ (* (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1))) (sqrt (+ (* x1 x1) 1.0))) (/ (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (sqrt (+ (* x1 x1) 1.0))) (- (* (sqrt 3.0) (sqrt 3.0)))) (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (fma (* x1 x1) (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0) (* (+ (- 3.0) 3.0) (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (* 2.0 x1)))))
9.0b
(fma (/ (* (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1))) (sqrt (+ (* x1 x1) 1.0))) (/ (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (sqrt (+ (* x1 x1) 1.0))) (- (* (sqrt 3.0) (sqrt 3.0))))

rewrite786.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
21×associate-*r*
19×add-sqr-sqrt *-un-lft-identity
15×times-frac
13×pow1 add-cube-cbrt
12×prod-exp cbrt-unprod
pow-prod-down add-log-exp
expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp fma-udef distribute-lft-out-- difference-of-squares
flip3-+ associate-/r/ flip-+
+-commutative associate-+r+ fma-def associate-*r/ associate-*l* sum-log *-commutative div-inv
Counts
4 → 83
Calls
4 calls:
429.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
1.0ms
(fma (* x1 x1) (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0) (* (+ (- 3.0) 3.0) (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (* 2.0 x1))))
349.0ms
(+ (* (fma (/ (* (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1))) (sqrt (+ (* x1 x1) 1.0))) (/ (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (sqrt (+ (* x1 x1) 1.0))) (- (* (sqrt 3.0) (sqrt 3.0)))) (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (fma (* x1 x1) (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0) (* (+ (- 3.0) 3.0) (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (* 2.0 x1)))))
1.0ms
(fma (/ (* (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1))) (sqrt (+ (* x1 x1) 1.0))) (/ (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (sqrt (+ (* x1 x1) 1.0))) (- (* (sqrt 3.0) (sqrt 3.0))))

series2.4s

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
140.0ms
(fma (* x1 x1) (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0) (* (+ (- 3.0) 3.0) (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (* 2.0 x1))))
1.8s
(+ (* (fma (/ (* (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1))) (sqrt (+ (* x1 x1) 1.0))) (/ (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (sqrt (+ (* x1 x1) 1.0))) (- (* (sqrt 3.0) (sqrt 3.0)))) (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))) (fma (* x1 x1) (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0) (* (+ (- 3.0) 3.0) (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (* 2.0 x1)))))
383.0ms
(fma (/ (* (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1))) (sqrt (+ (* x1 x1) 1.0))) (/ (cbrt (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1)) (sqrt (+ (* x1 x1) 1.0))) (- (* (sqrt 3.0) (sqrt 3.0))))

simplify2.2s

Counts
95 → 95
Iterations

Useful iterations: done (2.2s)

IterNodesCost
02845913
18105178
235474516
done50004508

prune1.4s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize101.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)
3.5b
(* (* (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0)) (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0))) (* x1 x1))
5.4b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
5.6b
(+ (* (* (* 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)) (* (* (* (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0)) (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0))) (* x1 x1)) (cbrt (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))))

rewrite2.7s

Algorithm
rewrite-expression-head
Rules
282×cbrt-div
237×add-sqr-sqrt
234×*-un-lft-identity
226×associate-*l/
196×frac-times
194×flip3-- flip--
189×prod-diff
173×associate-*r/
166×add-cube-cbrt times-frac
130×associate-+l+ frac-add
65×distribute-rgt-in distribute-lft-in
41×pow1
37×add-exp-log
35×difference-of-squares
34×distribute-lft-out--
33×add-cbrt-cube
22×associate-*r* associate-/r/
21×fma-neg
20×pow-prod-down prod-exp cbrt-unprod
12×flip3-+ flip-+
11×div-inv
add-log-exp
expm1-log1p-u pow-plus pow-prod-up log1p-expm1-u
cbrt-undiv sub-neg div-exp
pow2 associate-*l* pow-sqr *-commutative
+-commutative associate--l- fma-def diff-log div-sub sum-log unswap-sqr
Counts
4 → 463
Calls
4 calls:
864.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
221.0ms
(* (* (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0)) (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0))) (* x1 x1))
363.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
1.1s
(+ (* (* (* 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)) (* (* (* (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0)) (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0))) (* x1 x1)) (cbrt (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))))

series1.6s

Counts
4 → 12
Calls
4 calls:
159.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
409.0ms
(* (* (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0)) (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0))) (* x1 x1))
83.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
920.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)) (* (* (* (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0)) (cbrt (- (* 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0))) 6.0))) (* x1 x1)) (cbrt (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))))

simplify1.3s

Counts
475 → 475
Iterations

Useful iterations: done (1.3s)

IterNodesCost
094173679
1274066243
done500163126

prune6.7s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.1b

localize57.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* 3.0 x1) x1)
3.1b
(- (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) 3.0)
5.1b
(fma 2.0 (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) 3.0)) (* x1 (fma 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- 6.0))))
7.5b
(* x1 (fma 2.0 (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) 3.0)) (* x1 (fma 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- 6.0)))))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
93×add-sqr-sqrt
88×*-un-lft-identity
62×add-cube-cbrt
61×times-frac
57×prod-diff
19×fma-neg
14×difference-of-squares
13×distribute-lft-out--
11×pow1 add-exp-log add-cbrt-cube
associate-*r* add-log-exp
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u div-inv
fma-udef
*-commutative
associate--l- distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log div-sub flip-- unswap-sqr
Counts
4 → 146
Calls
4 calls:
18.0ms
(* (* 3.0 x1) x1)
101.0ms
(- (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) 3.0)
0.0ms
(fma 2.0 (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) 3.0)) (* x1 (fma 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- 6.0))))
7.0ms
(* x1 (fma 2.0 (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) 3.0)) (* x1 (fma 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- 6.0)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (* 3.0 x1) x1)
169.0ms
(- (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) 3.0)
415.0ms
(fma 2.0 (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) 3.0)) (* x1 (fma 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- 6.0))))
488.0ms
(* x1 (fma 2.0 (* (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) 3.0)) (* x1 (fma 4.0 (/ (- (fma (* 3.0 x1) x1 (* 2.0 x2)) x1) (fma x1 x1 1.0)) (- 6.0)))))

simplify1.6s

Counts
158 → 158
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02496015
15695440
214484798
done50004429

prune1.1s

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.1b

regimes543.0ms

Accuracy

0% (0.5b remaining)

Error of 0.7b against oracle of 0.2b and baseline of 0.7b

bsearch0.0ms

simplify9.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
051188
176188
done76188

end0.0ms

sample6.0s

Algorithm
intervals
Results
4.4s13725×body80valid
389.0ms385×body640valid
337.0ms307×body320valid
222.0ms175×body1280valid
64.0ms178×body160valid