Details

Time bar (total: 11.6s)

sample408.0ms

Algorithm
intervals
Results
65.0ms442×body80valid
3.0ms10×body640valid
3.0ms11×body320valid
2.0msbody1280valid
2.0msbody160valid

simplify65.0ms

Counts
1 → 1
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
010959
141756
2213653
3500152
done500152

prune21.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize50.0ms

Local error

Found 4 expressions with local error:

3.3b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
7.2b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
7.2b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
8.4b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

rewrite952.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
91×*-un-lft-identity
69×prod-diff
65×add-cube-cbrt
61×times-frac
21×fma-neg
18×pow1 add-exp-log add-cbrt-cube
14×difference-of-squares
13×distribute-lft-out--
pow-prod-down prod-exp cbrt-unprod
associate-/r/
add-log-exp
distribute-rgt-in distribute-lft-in
expm1-log1p-u flip3-+ associate-*r* associate-*l* flip-+ log1p-expm1-u div-inv
sub-neg
flip3-- associate-*r/ *-commutative flip--
associate--l- diff-log div-sub fma-udef unswap-sqr
Counts
4 → 168
Calls
4 calls:
637.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
251.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
52.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
2.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

series561.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
98.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
49.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
306.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

simplify110.0ms

Counts
180 → 180
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08513320
134782548
250022518
done50022518

prune979.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize52.0ms

Local error

Found 4 expressions with local error:

3.3b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
7.1b
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
7.2b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
8.4b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

rewrite716.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
63×add-cube-cbrt prod-diff
61×times-frac
23×add-exp-log
21×fma-neg
18×add-cbrt-cube
15×pow1
14×difference-of-squares
13×prod-exp distribute-lft-out--
cbrt-unprod
associate-/r/
pow-prod-down
add-log-exp
expm1-log1p-u flip3-+ associate-*r* associate-*l* flip-+ log1p-expm1-u div-inv
fma-udef
*-commutative
associate--l- distribute-rgt-in pow-to-exp sub-neg flip3-- distribute-lft-in diff-log div-sub pow-exp flip--
Counts
4 → 158
Calls
4 calls:
634.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
23.0ms
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
50.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
0.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

series474.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
44.0ms
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
48.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
274.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

simplify109.0ms

Counts
170 → 170
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07672997
131972275
250022248
done50022248

prune1.0s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize59.0ms

Local error

Found 4 expressions with local error:

7.1b
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
7.2b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
8.3b
(fma (/ 1 (sqrt (+ (* x1 x1) 1.0))) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0))) (- 3.0))
8.4b
(fma (* (fma (/ 1 (sqrt (+ (* x1 x1) 1.0))) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0))) (- 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
18×add-cbrt-cube
15×pow1
13×prod-exp
cbrt-unprod
pow-prod-down
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u associate-*r* associate-*l* fma-udef log1p-expm1-u add-log-exp
*-commutative
distribute-rgt-in pow-to-exp distribute-lft-in pow-exp
Counts
4 → 66
Calls
4 calls:
22.0ms
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
50.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
0.0ms
(fma (/ 1 (sqrt (+ (* x1 x1) 1.0))) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0))) (- 3.0))
0.0ms
(fma (* (fma (/ 1 (sqrt (+ (* x1 x1) 1.0))) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0))) (- 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

series620.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
50.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
152.0ms
(fma (/ 1 (sqrt (+ (* x1 x1) 1.0))) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0))) (- 3.0))
372.0ms
(fma (* (fma (/ 1 (sqrt (+ (* x1 x1) 1.0))) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0))) (- 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

simplify71.0ms

Counts
78 → 78
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04771262
122751039
250011034
done50011034

prune654.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

localize47.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
3.3b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
7.2b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
8.4b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

rewrite698.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
90×*-un-lft-identity
64×add-cube-cbrt
63×prod-diff
61×times-frac
21×fma-neg
15×pow1 add-exp-log add-cbrt-cube
14×difference-of-squares
13×distribute-lft-out--
associate-/r/
pow-prod-down prod-exp cbrt-unprod
associate-*l* add-log-exp
expm1-log1p-u flip3-+ associate-*r* flip-+ 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 → 157
Calls
4 calls:
7.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
635.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
48.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
0.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

series558.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
107.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
50.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
297.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

simplify93.0ms

Counts
169 → 169
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07173060
129072355
250012328
done50012328

prune928.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

regimes372.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06459
16859
27259
37259
done7259

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.2s13982×body80valid
138.0ms406×body640valid
83.0ms176×body1280valid
76.0ms294×body320valid
27.0ms156×body160valid