Details

Time bar (total: 11.3s)

sample218.0ms

Algorithm
intervals
Results
113.0ms41×body2560valid
65.0ms91×body1280valid
15.0ms55×body640valid
7.0ms37×body320valid
3.0ms22×body160valid
1.0ms10×body80valid

simplify25.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.5b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.7b
(- x (tan x))
1.8b
(- x (sin x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
9.0ms
(/ (- x (sin x)) (- x (tan x)))
4.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series44.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(/ (- x (sin x)) (- x (tan x)))
13.0ms
(- x (tan x))
15.0ms
(- x (sin x))

simplify720.0ms

Counts
89 → 89
Iterations

Useful iterations: done (717.0ms)

IterNodesCost
01571237
13661200
210511149
329121147
done50001145

prune116.0ms

Filtered
63 candidates to 89 candidates (-41.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New84589
Fresh000
Picked101
Done000
Total85590

Merged error: 0.1b

Counts
90 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (/ (- x (sin x)) (- x (tan x))))
0.0b
(log (exp (/ (- x (sin x)) (- x (tan x)))))
1.7b
(- x (tan x))
1.8b
(- x (sin x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
71×add-sqr-sqrt *-un-lft-identity
62×exp-prod
50×times-frac
32×log-pow
27×add-cube-cbrt
22×distribute-lft-out-- difference-of-squares
add-log-exp
pow1
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
log-prod
sub-neg exp-diff diff-log div-sub div-inv
log-div rem-log-exp rem-exp-log
Counts
4 → 112
Calls
4 calls:
10.0ms
(exp (/ (- x (sin x)) (- x (tan x))))
12.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
4.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series55.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(exp (/ (- x (sin x)) (- x (tan x))))
19.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
11.0ms
(- x (tan x))
5.0ms
(- x (sin x))

simplify973.0ms

Counts
124 → 124
Iterations

Useful iterations: 3 (335.0ms)

IterNodesCost
02171621
14161473
211771408
339491383
done50001383

prune154.0ms

Filtered
88 candidates to 124 candidates (-40.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1222124
Fresh134
Picked011
Done000
Total1236129

Merged error: 0.0b

Counts
129 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp -1/2) (+ (+ (* 9/40 (pow x 2)) 1) (* 351/22400 (pow x 4))))
0.1b
(* 351/22400 (pow x 4))
0.1b
(* 9/40 (pow x 2))
22.6b
(log (* (exp -1/2) (+ (+ (* 9/40 (pow x 2)) 1) (* 351/22400 (pow x 4)))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
18×associate-*r*
17×add-exp-log
12×add-cube-cbrt *-un-lft-identity
10×add-cbrt-cube
pow1 associate-*l*
unpow-prod-down prod-exp unswap-sqr
associate-*r/ add-log-exp sqr-pow
*-commutative cbrt-unprod
pow-to-exp log-div flip3-+ rem-log-exp pow-prod-down pow-exp log-pow flip-+ unpow2
distribute-rgt-in log-prod distribute-lft-in
Counts
4 → 88
Calls
4 calls:
12.0ms
(* (exp -1/2) (+ (+ (* 9/40 (pow x 2)) 1) (* 351/22400 (pow x 4))))
6.0ms
(* 351/22400 (pow x 4))
6.0ms
(* 9/40 (pow x 2))
11.0ms
(log (* (exp -1/2) (+ (+ (* 9/40 (pow x 2)) 1) (* 351/22400 (pow x 4)))))

series32.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (exp -1/2) (+ (+ (* 9/40 (pow x 2)) 1) (* 351/22400 (pow x 4))))
4.0ms
(* 351/22400 (pow x 4))
3.0ms
(* 9/40 (pow x 2))
15.0ms
(log (* (exp -1/2) (+ (+ (* 9/40 (pow x 2)) 1) (* 351/22400 (pow x 4)))))

simplify492.0ms

Counts
100 → 100
Iterations

Useful iterations: done (490.0ms)

IterNodesCost
01831398
14501307
214861150
done50001149

prune224.0ms

Filtered
68 candidates to 100 candidates (-47.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New991100
Fresh044
Picked101
Done011
Total1006106

Merged error: 0.0b

Counts
106 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow x 4)
0.1b
(* 9/40 (pow x 2))
0.1b
(* 27/2800 (pow x 4))
15.8b
(- (* 9/40 (pow x 2)) (+ 1/2 (* 27/2800 (pow x 4))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
15×add-exp-log associate-*r*
12×add-cube-cbrt *-un-lft-identity
11×unpow-prod-down
add-log-exp
add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 sqr-pow
pow-to-exp pow-unpow pow-exp
diff-log *-commutative cbrt-unprod unpow2
sub-neg flip3-- pow-pow sum-log flip-- associate--r+
Counts
4 → 83
Calls
4 calls:
2.0ms
(pow x 4)
6.0ms
(* 9/40 (pow x 2))
6.0ms
(* 27/2800 (pow x 4))
7.0ms
(- (* 9/40 (pow x 2)) (+ 1/2 (* 27/2800 (pow x 4))))

series17.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(pow x 4)
3.0ms
(* 9/40 (pow x 2))
4.0ms
(* 27/2800 (pow x 4))
5.0ms
(- (* 9/40 (pow x 2)) (+ 1/2 (* 27/2800 (pow x 4))))

simplify1.1s

Counts
95 → 95
Iterations

Useful iterations: 3 (306.0ms)

IterNodesCost
0132893
1314804
2844730
33381718
done5000718

prune142.0ms

Filtered
61 candidates to 95 candidates (-55.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New94195
Fresh044
Picked101
Done011
Total956101

Merged error: 0.0b

Counts
101 → 6

regimes107.0ms

Accuracy

100% (0.0b remaining)

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

bsearch36.0ms

Steps
ItersRangePoint
9
0.009971872296741319
901.3230478674768
0.028213698630483845
7
-0.0552767792151412
-0.0004813576712207844
-0.026253755058246165

simplify3.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02543
13033
done3033

end0.0ms

sample6.7s

Algorithm
intervals
Results
3.9s1644×body2560valid
1.8s2772×body1280valid
500.0ms1835×body640valid
169.0ms919×body320valid
60.0ms460×body160valid
29.0ms370×body80valid

Profiling

Loading profile data...