Details

Time bar (total: 15.4s)

sample35.0ms

Algorithm
intervals
Results
21.0ms348×body80valid

simplify4.5s

Counts
1 → 1
Iterations
IterNodes
done5000
114353
102586
91467
8947
7764
6690
5551
4318
3142
261
126
010

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize14.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)

rewrite218.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:
15.0ms
(- (* (* x 3.0) x) (* x 4.0))
187.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
14.0ms
(* (* x 3.0) x)

series144.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(- (* (* x 3.0) x) (* x 4.0))
34.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
31.0ms
(* (* x 3.0) x)

simplify1.2s

Counts
70 → 70
Iterations
IterNodes
done5001
21369
1330
0115

prune375.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt add-log-exp
fma-neg prod-diff
expm1-log1p-u pow1 add-cbrt-cube add-exp-log fma-udef log1p-expm1-u
sub-neg flip3-- diff-log associate--l+ flip--
Counts
2 → 31
Calls
2 calls:
5.0ms
(- (fma (* x x) 9.0 3.0) (* x 12.0))
0.0ms
(fma (* x x) 9.0 3.0)

series86.0ms

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

simplify2.1s

Counts
37 → 37
Iterations
IterNodes
done5006
31688
2378
1121
054

prune192.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize25.0ms

Local error

Found 3 expressions with local error:

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

rewrite89.0ms

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

series169.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(- (* x 3.0) 4.0)
80.0ms
(* x (- (* x 3.0) 4.0))
37.0ms
(* 3.0 (+ (* x (- (* x 3.0) 4.0)) 1.0))

simplify1.2s

Counts
83 → 83
Iterations
IterNodes
done5001
21174
1377
0143

prune254.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize18.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))

rewrite51.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)
34.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* 3.0 x) 4.0) 1.0)))
0.0ms
(fma x (- (* 3.0 x) 4.0) 1.0)
8.0ms
(* (cbrt 3.0) (fma x (- (* 3.0 x) 4.0) 1.0))

series302.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(- (* 3.0 x) 4.0)
92.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (fma x (- (* 3.0 x) 4.0) 1.0)))
53.0ms
(fma x (- (* 3.0 x) 4.0) 1.0)
96.0ms
(* (cbrt 3.0) (fma x (- (* 3.0 x) 4.0) 1.0))

simplify3.1s

Counts
94 → 94
Iterations
IterNodes
done5000
34551
21188
1383
0141

prune428.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes44.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done9
19
08

end0.0ms

sample802.0ms

Algorithm
intervals
Results
632.0ms10767×body80valid