Details

Time bar (total: 6.7s)

sample323.0ms

Algorithm
intervals
Results
59.0ms123×body1280valid
19.0ms256×pre80true
15.0ms58×body640valid
5.0ms28×body320valid
3.0ms40×body80valid
1.0msbody160valid

simplify490.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
01859
11859

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.3b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.6b
(tan (+ y z))

rewrite20.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:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series111.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
04916570
14916570

prune88.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New46551
Fresh000
Picked101
Done000
Total47552

Merged error: 0.1b

Counts
52 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
13×associate-*l/
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r* frac-add
associate-*r/ associate-/l/
flip3-+ flip-+
prod-exp cbrt-unprod add-log-exp
times-frac pow-prod-down *-commutative associate-/l* unswap-sqr
cbrt-undiv frac-times div-exp associate-/r/
flip3-- frac-2neg clear-num associate-/r* flip-- div-inv distribute-lft-out
Counts
4 → 95
Calls
4 calls:
7.0ms
(* (+ (tan y) (tan z)) (cos a))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
17.0ms
(/ (+ (* (+ (tan y) (tan z)) (cos a)) (* (sin a) (+ (* (tan y) (tan z)) -1))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (+ (tan y) (tan z)) (cos a))
23.0ms
(* (tan y) (tan z))
22.0ms
(* (tan y) (tan z))
151.0ms
(/ (+ (* (+ (tan y) (tan z)) (cos a)) (* (sin a) (+ (* (tan y) (tan z)) -1))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify43.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
054361771

prune180.0ms

Filtered
82 candidates to 107 candidates (-30.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1025107
Fresh224
Picked101
Done000
Total1057112

Merged error: 0.0b

Counts
112 → 7

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
11×associate-*l/
10×tan-quot
associate-/l/
pow1 frac-add
associate-*r/
flip3-+ times-frac associate-*r* associate-*l* flip-+
cbrt-undiv div-exp prod-exp associate-/r* cbrt-unprod associate-/l* add-log-exp
frac-2neg pow-prod-down clear-num associate-/r/ *-commutative div-inv unswap-sqr
frac-times flip3-- flip--
Counts
4 → 93
Calls
4 calls:
7.0ms
(* (tan z) (sin y))
6.0ms
(/ (* (tan z) (sin y)) (cos y))
5.0ms
(* (tan y) (tan z))
20.0ms
(/ (+ (* (+ (tan y) (tan z)) (cos a)) (* (sin a) (+ (* (tan y) (tan z)) -1))) (* (- 1 (/ (* (tan z) (sin y)) (cos y))) (cos a)))

series209.0ms

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

simplify31.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
055121859

prune153.0ms

Filtered
81 candidates to 105 candidates (-29.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1041105
Fresh066
Picked011
Done000
Total1048112

Merged error: 0.0b

Counts
112 → 8

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
11×associate-*l/
10×tan-quot
associate-/l/
pow1 frac-add
associate-*r/
flip3-+ times-frac associate-*r* associate-*l* flip-+
cbrt-undiv div-exp prod-exp associate-/r* cbrt-unprod associate-/l* add-log-exp
frac-2neg pow-prod-down clear-num associate-/r/ *-commutative div-inv unswap-sqr
frac-times flip3-- flip--
Counts
4 → 93
Calls
4 calls:
6.0ms
(/ (* (tan y) (sin z)) (cos z))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (sin z))
22.0ms
(/ (+ (* (+ (tan y) (tan z)) (cos a)) (* (sin a) (+ (* (tan y) (tan z)) -1))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))

series210.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (* (tan y) (sin z)) (cos z))
22.0ms
(* (tan y) (tan z))
16.0ms
(* (tan y) (sin z))
149.0ms
(/ (+ (* (+ (tan y) (tan z)) (cos a)) (* (sin a) (+ (* (tan y) (tan z)) -1))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))

simplify31.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
054831861

prune116.0ms

Filtered
81 candidates to 105 candidates (-29.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh066
Picked011
Done011
Total1058113

Merged error: 0.0b

Counts
113 → 8

regimes745.0ms

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 (1.0ms)

IterNodesCost
06535
16535

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.7s3883×body1280valid
531.0ms8000×pre80true
488.0ms1971×body640valid
121.0ms715×body320valid
62.0ms1150×body80valid
33.0ms281×body160valid

Profiling

Loading profile data...