Details

Time bar (total: 12.2s)

sample39.0ms

Algorithm
intervals
Results
20.0ms333×body80valid

simplify4.2s

Counts
1 → 1
Iterations
IterNodes
done5000
64460
51221
4417
3151
262
126
010

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (* x 3.0) x) (* x 4.0))
0.1b
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
0.2b
(* (* x 3.0) x)

rewrite347.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-cbrt-cube add-exp-log
add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
associate-*r/ *-commutative
distribute-rgt-in sub-neg distribute-lft-in flip3-+ flip3-- fma-neg diff-log prod-diff flip-+ flip-- distribute-lft-out unswap-sqr
Counts
3 → 61
Calls
3 calls:
31.0ms
(- (* (* x 3.0) x) (* x 4.0))
291.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
22.0ms
(* (* x 3.0) x)

series268.0ms

Counts
3 → 9
Calls
3 calls:
163.0ms
(- (* (* x 3.0) x) (* x 4.0))
44.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
61.0ms
(* (* x 3.0) x)

simplify2.1s

Counts
70 → 70
Iterations
IterNodes
done5000
22026
1331
0115

prune331.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (- 12.0) x (fma x (* x 9.0) 3.0))
0.1b
(fma x (* x 9.0) 3.0)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma (- 12.0) x (fma x (* x 9.0) 3.0))
0.0ms
(fma x (* x 9.0) 3.0)

series151.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(fma (- 12.0) x (fma x (* x 9.0) 3.0))
108.0ms
(fma x (* x 9.0) 3.0)

simplify449.0ms

Counts
26 → 26
Iterations
IterNodes
done5000
3899
2171
154
034

prune98.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 3.0 (+ (fma 3.0 (* x x) (* 4.0 (- x))) 1.0))
0.1b
(fma 3.0 (* x x) (* 4.0 (- x)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-cbrt-cube associate-*r* add-exp-log add-cube-cbrt
associate-*l*
expm1-log1p-u associate-*r/ log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ fma-udef distribute-lft-out unswap-sqr
Counts
2 → 35
Calls
2 calls:
19.0ms
(* 3.0 (+ (fma 3.0 (* x x) (* 4.0 (- x))) 1.0))
0.0ms
(fma 3.0 (* x x) (* 4.0 (- x)))

series140.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(* 3.0 (+ (fma 3.0 (* x x) (* 4.0 (- x))) 1.0))
97.0ms
(fma 3.0 (* x x) (* 4.0 (- x)))

simplify559.0ms

Counts
41 → 41
Iterations
IterNodes
done5001
2718
1183
072

prune191.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 3.0 x) 4.0)
0.1b
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* 3.0 x) 4.0) 1.0)))
0.1b
(fma x (- (* 3.0 x) 4.0) 1.0)
0.2b
(* (cbrt 3.0) (fma x (- (* 3.0 x) 4.0) 1.0))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log
12×add-sqr-sqrt
11×add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
*-un-lft-identity add-cube-cbrt
associate-*l* fma-udef
add-log-exp
distribute-rgt-in distribute-lft-in
cbrt-prod expm1-log1p-u associate-*r* log1p-expm1-u
prod-diff
*-commutative unswap-sqr
sub-neg flip3-- fma-neg diff-log flip--
Counts
4 → 82
Calls
4 calls:
7.0ms
(- (* 3.0 x) 4.0)
31.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* 3.0 x) 4.0) 1.0)))
1.0ms
(fma x (- (* 3.0 x) 4.0) 1.0)
15.0ms
(* (cbrt 3.0) (fma x (- (* 3.0 x) 4.0) 1.0))

series373.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (* 3.0 x) 4.0)
133.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* 3.0 x) 4.0) 1.0)))
65.0ms
(fma x (- (* 3.0 x) 4.0) 1.0)
104.0ms
(* (cbrt 3.0) (fma x (- (* 3.0 x) 4.0) 1.0))

simplify1.4s

Counts
94 → 94
Iterations
IterNodes
done5000
21978
1387
0141

prune452.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes69.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done9
19
08

end0.0ms

sample964.0ms

Algorithm
intervals
Results
697.0ms10691×body80valid