Details

Time bar (total: 2.5s)

sample17.0ms

Algorithm
intervals
Results
8.0ms363×body80valid

simplify72.0ms

Counts
1 → 1
Iterations

Useful iterations: 4 (13.0ms)

IterNodesCost
0266
1556
21226
32056
42535
53075
63635
74985
89115
911875
1011885
1111885
done11885

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize10.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 (+ 1.0 (* x (- (* x 3.0) 4.0))))

rewrite53.0ms

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

series132.0ms

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

simplify40.0ms

Counts
67 → 67
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0267361
11213324
25001323
done5001323

prune119.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
0.2b
(* 9.0 (pow x 2))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 diff-log unpow2 sqr-pow
pow-to-exp sub-neg flip3-- pow-exp associate--l+ sum-log *-commutative flip-- cbrt-unprod
Counts
2 → 41
Calls
2 calls:
53.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
15.0ms
(* 9.0 (pow x 2))

series48.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
25.0ms
(* 9.0 (pow x 2))

simplify151.0ms

Counts
47 → 47
Iterations

Useful iterations: 3 (147.0ms)

IterNodesCost
0193233
1766207
24099201
35003200
done5003200

prune91.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
sub-neg associate-*r* associate-*l*
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 36
Calls
2 calls:
10.0ms
(- (* x 9.0) 12.0)
28.0ms
(* x (- (* x 9.0) 12.0))

series98.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(- (* x 9.0) 12.0)
58.0ms
(* x (- (* x 9.0) 12.0))

simplify78.0ms

Counts
42 → 42
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0137189
1560167
22720166
35001166
done5001166

prune72.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2)))) 3.0) (* 12.0 x))
0.3b
(* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2))))
21.0b
(sqrt (pow x 2))
21.0b
(sqrt (pow x 2))

rewrite519.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
24×pow-prod-down
16×add-exp-log sqrt-prod add-cbrt-cube
14×pow1/2
12×add-sqr-sqrt
add-log-exp
add-cube-cbrt unpow-prod-down rem-sqrt-square *-un-lft-identity prod-exp cbrt-unprod
sqrt-unprod pow-sqr pow-prod-up
unpow2 sqr-pow
sqrt-pow1 pow-plus diff-log
pow2 sub-neg flip3-- swap-sqr associate-*r* associate-*l* associate--l+ sum-log rem-square-sqrt *-commutative flip--
Counts
4 → 95
Calls
4 calls:
446.0ms
(- (+ (* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2)))) 3.0) (* 12.0 x))
60.0ms
(* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2))))
6.0ms
(sqrt (pow x 2))
3.0ms
(sqrt (pow x 2))

series133.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (+ (* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2)))) 3.0) (* 12.0 x))
72.0ms
(* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2))))
8.0ms
(sqrt (pow x 2))
9.0ms
(sqrt (pow x 2))

simplify43.0ms

Counts
107 → 107
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0254578
11136372
25001361
done5001361

prune220.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes23.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114
done114

end0.0ms

sample411.0ms

Algorithm
intervals
Results
257.0ms10733×body80valid