Details

Time bar (total: 1.8s)

sample17.0ms

Algorithm
intervals
Results
9.0ms362×body80valid

simplify28.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0194
1454
2823
31273
41683
52243
63593
76663
87633
97633
done7633

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (- x) (fma 0.12 x 0.253) 1.0)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (- x) (fma 0.12 x 0.253) 1.0)

series32.0ms

Counts
1 → 3
Calls
1 calls:
32.0ms
(fma (- x) (fma 0.12 x 0.253) 1.0)

simplify70.0ms

Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04266
110253
243353
3213253
4500153
done500153

prune35.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 0.253 (* x 0.12))
0.1b
(* x (+ 0.253 (* x 0.12)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
fma-def associate-*r* associate-*l*
expm1-log1p-u flip3-+ associate-*r/ flip-+ log1p-expm1-u
+-commutative distribute-rgt-in distribute-lft-in pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 40
Calls
2 calls:
6.0ms
(+ 0.253 (* x 0.12))
16.0ms
(* x (+ 0.253 (* x 0.12)))

series102.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ 0.253 (* x 0.12))
68.0ms
(* x (+ 0.253 (* x 0.12)))

simplify118.0ms

Counts
46 → 46
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0175184
1809150
24290148
35001148
done5001148

prune98.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 0.253) (* x (* x 0.12)))
0.2b
(* x (* x 0.12))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative fma-def flip3-+ associate-*r* sum-log *-commutative flip-+ distribute-lft-out
Counts
2 → 35
Calls
2 calls:
9.0ms
(+ (* x 0.253) (* x (* x 0.12)))
15.0ms
(* x (* x 0.12))

series97.0ms

Counts
2 → 6
Calls
2 calls:
71.0ms
(+ (* x 0.253) (* x (* x 0.12)))
26.0ms
(* x (* x 0.12))

simplify95.0ms

Counts
41 → 41
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0176175
1724144
23393141
35001141
done5001141

prune81.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (* x 0.12))
0.3b
(* (sqrt (* x (* x 0.12))) (sqrt (* x (* x 0.12))))
21.2b
(sqrt (* x (* x 0.12)))
21.2b
(sqrt (* x (* x 0.12)))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
148×pow1
80×pow-prod-down
66×sqrt-pow1
17×pow-prod-up
14×pow1/2
11×add-exp-log add-sqr-sqrt pow-sqr add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*l*
sqrt-prod
associate-*r*
expm1-log1p-u swap-sqr prod-exp cbrt-unprod log1p-expm1-u add-log-exp
*-commutative
pow2 pow-plus sqrt-unprod rem-square-sqrt unswap-sqr
Counts
4 → 116
Calls
4 calls:
16.0ms
(* x (* x 0.12))
80.0ms
(* (sqrt (* x (* x 0.12))) (sqrt (* x (* x 0.12))))
13.0ms
(sqrt (* x (* x 0.12)))
13.0ms
(sqrt (* x (* x 0.12)))

series176.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* x (* x 0.12))
74.0ms
(* (sqrt (* x (* x 0.12))) (sqrt (* x (* x 0.12))))
40.0ms
(sqrt (* x (* x 0.12)))
36.0ms
(sqrt (* x (* x 0.12)))

simplify39.0ms

Counts
128 → 128
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0177395
1869334
25001312
done5001312

prune184.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes20.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01510
11510
done1510

end0.0ms

sample348.0ms

Algorithm
intervals
Results
201.0ms10716×body80valid