Details

Time bar (total: 7.5s)

sample310.0ms

Algorithm
intervals
Results
243.0ms138×body1280valid
19.0ms256×pre80true
13.0ms53×body640valid
3.0ms20×body320valid
2.0ms36×body80valid
1.0msbody160valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.8b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.9b
(tan (+ y z))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
12.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series103.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ x (- (tan (+ y z)) (tan a)))
33.0ms
(- (tan (+ y z)) (tan a))
25.0ms
(tan (+ y z))

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune100.0ms

Filtered
51 candidates to 39 candidates (23.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New43851
Fresh000
Picked101
Done000
Total44852

Merged error: 0.1b

Counts
52 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.3b
(* (tan y) (tan z))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
11×add-log-exp
add-exp-log add-cbrt-cube
tan-quot
pow1 distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg associate-+r+ flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
8.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
11.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series324.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
126.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
121.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
22.0ms
(* (tan y) (tan z))

simplify116.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04491259
115031211
249921203
350011203

prune175.0ms

Filtered
102 candidates to 75 candidates (26.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New948102
Fresh437
Picked101
Done000
Total9911110

Merged error: 0.0b

Counts
110 → 11

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.4b
(* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
1.2b
(/ (- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
106×*-un-lft-identity
80×times-frac
70×add-sqr-sqrt
54×add-cube-cbrt
24×swap-sqr associate-*r* associate-*l*
23×distribute-lft-out
22×add-exp-log add-cbrt-cube
21×tan-quot
15×pow1
11×associate-/r/ associate-/l/
frac-times associate-*r/ associate-*l/ frac-sub
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv flip3-- div-exp flip-- div-inv difference-of-squares
associate-/r* associate-/l* add-log-exp
pow-prod-down *-commutative
pow2 frac-2neg flip3-+ pow-plus div-sub frac-add clear-num pow-sqr pow-prod-up flip-+
Counts
4 → 181
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
19.0ms
(* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
31.0ms
(/ (- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

series571.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (tan y) (tan z))
22.0ms
(* (tan y) (tan z))
68.0ms
(* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
457.0ms
(/ (- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

simplify147.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09194506
149194159
250014159

prune306.0ms

Filtered
193 candidates to 130 candidates (32.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1930193
Fresh01010
Picked011
Done000
Total19311204

Merged error: 0.0b

Counts
204 → 11

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
0.2b
(/ (* (tan y) (sin z)) (cos z))
0.2b
(* (tan y) (sin z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
11×add-exp-log add-cbrt-cube add-log-exp
add-cube-cbrt
pow1
times-frac
tan-quot associate-*r* associate-*l* associate-/r*
cbrt-undiv sub-neg associate-+r+ diff-log div-exp associate-*l/ prod-exp sum-log cbrt-unprod distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate-+r- flip3-- frac-2neg flip3-+ pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 74
Calls
4 calls:
18.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
6.0ms
(/ (* (tan y) (sin z)) (cos z))
5.0ms
(* (tan y) (sin z))
18.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))

series283.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
22.0ms
(/ (* (tan y) (sin z)) (cos z))
15.0ms
(* (tan y) (sin z))
120.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))

simplify42.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03911035
11334960
25002951

prune82.0ms

Filtered
86 candidates to 62 candidates (27.9%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh099
Picked011
Done011
Total861197

Merged error: 0.0b

Counts
97 → 11

regimes1.1s

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02433
12433

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.7s3918×body1280valid
530.0ms8000×pre80true
491.0ms1993×body640valid
120.0ms700×body320valid
55.0ms1085×body80valid
36.0ms304×body160valid

Profiling

Loading profile data...